19580 line
1.1 MiB
19580 line
1.1 MiB
{
|
|
"coverage_information": [
|
|
{
|
|
"branch_coverage": 100.0,
|
|
"filepath": "/user_data/data/dirk/prj/unittest/state_machine/pylibs/state_machine",
|
|
"files": [
|
|
{
|
|
"branch_coverage": 100.0,
|
|
"filepath": "/user_data/data/dirk/prj/unittest/state_machine/pylibs/state_machine/__init__.py",
|
|
"fragments": [
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 3,
|
|
"start": 1
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 4,
|
|
"start": 4
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 26,
|
|
"start": 5
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 27,
|
|
"start": 27
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 28,
|
|
"start": 28
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 30,
|
|
"start": 29
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 32,
|
|
"start": 31
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 37,
|
|
"start": 33
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 39,
|
|
"start": 38
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 40,
|
|
"start": 40
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 41,
|
|
"start": 41
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 42,
|
|
"start": 42
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 45,
|
|
"start": 43
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 46,
|
|
"start": 46
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 67,
|
|
"start": 47
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 69,
|
|
"start": 68
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 70,
|
|
"start": 70
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 80,
|
|
"start": 71
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 81,
|
|
"start": 81
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 82,
|
|
"start": 82
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 93,
|
|
"start": 83
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 99,
|
|
"start": 94
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 100,
|
|
"start": 100
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 101,
|
|
"start": 101
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 106,
|
|
"start": 102
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 107,
|
|
"start": 107
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 108,
|
|
"start": 108
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 109,
|
|
"start": 109
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 117,
|
|
"start": 110
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 118,
|
|
"start": 118
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 119,
|
|
"start": 119
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 120,
|
|
"start": 120
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 126,
|
|
"start": 121
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 127,
|
|
"start": 127
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 128,
|
|
"start": 128
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 129,
|
|
"start": 129
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 135,
|
|
"start": 130
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 136,
|
|
"start": 136
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 137,
|
|
"start": 137
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 138,
|
|
"start": 138
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 146,
|
|
"start": 139
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 147,
|
|
"start": 147
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 148,
|
|
"start": 148
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 149,
|
|
"start": 149
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 155,
|
|
"start": 150
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 156,
|
|
"start": 156
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 157,
|
|
"start": 157
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 158,
|
|
"start": 158
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 166,
|
|
"start": 159
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 167,
|
|
"start": 167
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 168,
|
|
"start": 168
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 169,
|
|
"start": 169
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 175,
|
|
"start": 170
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 176,
|
|
"start": 176
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 177,
|
|
"start": 177
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 183,
|
|
"start": 178
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 184,
|
|
"start": 184
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 189,
|
|
"start": 185
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 190,
|
|
"start": 190
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 195,
|
|
"start": 191
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 196,
|
|
"start": 196
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 197,
|
|
"start": 197
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 198,
|
|
"start": 198
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 201,
|
|
"start": 199
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 202,
|
|
"start": 202
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 203,
|
|
"start": 203
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 206,
|
|
"start": 204
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 218,
|
|
"start": 207
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 219,
|
|
"start": 219
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 224,
|
|
"start": 220
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": null,
|
|
"start": 225
|
|
}
|
|
],
|
|
"line_coverage": 100.0,
|
|
"name": "state_machine.__init__.py"
|
|
}
|
|
],
|
|
"line_coverage": 100.0,
|
|
"name": "state_machine"
|
|
}
|
|
],
|
|
"lost_souls": {
|
|
"item_list": [],
|
|
"testcase_list": []
|
|
},
|
|
"specification": {
|
|
"comment": "Comment",
|
|
"item_dict": {
|
|
"_-kytMHcyEemrUqotql_Blw": {
|
|
"Description": "The Module shall have a method for getting the previous state.",
|
|
"Fitcriterion": "At least one returend state fits to the expecation.",
|
|
"Heading": "Previous State",
|
|
"ID": "REQ-14",
|
|
"ReasonForImplementation": "Comfortable user interface.",
|
|
"last_change": "2019-05-15T19:00:32.772+02:00",
|
|
"system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg",
|
|
"system_uid": "_-kytMHcyEemrUqotql_Blw",
|
|
"xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT"
|
|
},
|
|
"_1WGwEHcyEemrUqotql_Blw": {
|
|
"Description": "The Module shall have a method for getting the last transition condition.",
|
|
"Fitcriterion": "At least one returned transition condition fits to the expectation.",
|
|
"Heading": "Last Transition Condition",
|
|
"ID": "REQ-12",
|
|
"ReasonForImplementation": "Comfortable user interface.",
|
|
"last_change": "2019-05-16T10:30:23.088+02:00",
|
|
"system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg",
|
|
"system_uid": "_1WGwEHcyEemrUqotql_Blw",
|
|
"xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT"
|
|
},
|
|
"_7Mq60HcyEemrUqotql_Blw": {
|
|
"Description": "The Module shall have a method for checking if the given condition was the last transition condition.",
|
|
"Fitcriterion": "At least two calls with different return values fit to the expectation.",
|
|
"Heading": "Last Transition Condition was",
|
|
"ID": "REQ-13",
|
|
"ReasonForImplementation": "Comfortable user interface.",
|
|
"last_change": "2019-05-16T21:29:49.830+02:00",
|
|
"system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg",
|
|
"system_uid": "_7Mq60HcyEemrUqotql_Blw",
|
|
"xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT"
|
|
},
|
|
"_AcYg8HczEemrUqotql_Blw": {
|
|
"Description": "The Module shall have a method for checking if the given state was the previous state.",
|
|
"Fitcriterion": "At least two calls with different return values fit to the expectation.",
|
|
"Heading": "Previous State was",
|
|
"ID": "REQ-15",
|
|
"ReasonForImplementation": "Comfortable user interface.",
|
|
"last_change": "2019-05-16T10:32:13.581+02:00",
|
|
"system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg",
|
|
"system_uid": "_AcYg8HczEemrUqotql_Blw",
|
|
"xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT"
|
|
},
|
|
"_AtENoHb5EemzkK7kGUMNfw": {
|
|
"Heading": "Module Initialisation",
|
|
"last_change": "2019-05-15T19:44:13.807+02:00",
|
|
"system_type_uid": "_4-K5EHYYEem_kd-7nxt1sg",
|
|
"system_uid": "_AtENoHb5EemzkK7kGUMNfw",
|
|
"xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT"
|
|
},
|
|
"_C0Vi0HgPEemBsuKWG645TA": {
|
|
"Description": "The state machine shall use the first active transition. If multiple transition are active, the transition with the highest overlap time will be used.",
|
|
"Fitcriterion": "At least one transition with at least two active conditions results in the expected state change.",
|
|
"Heading": "Transitionpriorisation",
|
|
"ID": "REQ-19",
|
|
"ReasonForImplementation": "Compensate the weakness of the execution quantisation.",
|
|
"last_change": "2019-05-16T21:16:50.688+02:00",
|
|
"system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg",
|
|
"system_uid": "_C0Vi0HgPEemBsuKWG645TA",
|
|
"xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT"
|
|
},
|
|
"_GeMSYHczEemrUqotql_Blw": {
|
|
"Description": "The Module shall have a method for getting active time for the previous state.",
|
|
"Fitcriterion": "At least one returned duration fits to the previous state duration ($\\pm$ 0.05s).",
|
|
"Heading": "Previous State Duration",
|
|
"ID": "REQ-16",
|
|
"ReasonForImplementation": "Comfortable user interface.",
|
|
"last_change": "2019-05-15T19:01:31.605+02:00",
|
|
"system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg",
|
|
"system_uid": "_GeMSYHczEemrUqotql_Blw",
|
|
"xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT"
|
|
},
|
|
"_MR7eOHYYEem_kd-7nxt1sg": {
|
|
"Heading": "Transition Callbacks",
|
|
"last_change": "2019-05-15T19:44:01.904+02:00",
|
|
"system_type_uid": "_4-K5EHYYEem_kd-7nxt1sg",
|
|
"system_uid": "_MR7eOHYYEem_kd-7nxt1sg",
|
|
"xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT"
|
|
},
|
|
"_N_VvoHczEemrUqotql_Blw": {
|
|
"Heading": "Transition Changes",
|
|
"last_change": "2019-05-15T19:43:41.645+02:00",
|
|
"system_type_uid": "_4-K5EHYYEem_kd-7nxt1sg",
|
|
"system_uid": "_N_VvoHczEemrUqotql_Blw",
|
|
"xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT"
|
|
},
|
|
"_P7R34HczEemrUqotql_Blw": {
|
|
"Description": "The user shall be able to define multiple states and transitions for the state machine. A transition shall have a start state, a target state and a transition condition. The transition condition shall be a method, where the user is able to calculate the condition on demand.",
|
|
"Fitcriterion": "The order of at least three state changes is correct.",
|
|
"Heading": "Transitiondefinition and -flow",
|
|
"ID": "REQ-17",
|
|
"ReasonForImplementation": "Definition of the transitions for a state machine.",
|
|
"last_change": "2019-05-16T06:40:52.251+02:00",
|
|
"system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg",
|
|
"system_uid": "_P7R34HczEemrUqotql_Blw",
|
|
"xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT"
|
|
},
|
|
"_QofFgK-aEeqZm7ouFR1drQ": {
|
|
"Description": "The callbacks shall be executed in the same order as they had been registered.",
|
|
"Fitcriterion": "A callback with specific targetstate and condition will be executed before a non specific callback if the specific one had been regestered first.",
|
|
"Heading": "Execution order of Callbacks",
|
|
"ID": "REQ-20",
|
|
"ReasonForImplementation": "User shall have the control about the execution order.",
|
|
"last_change": "2020-06-16T08:34:38.134+02:00",
|
|
"system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg",
|
|
"system_uid": "_QofFgK-aEeqZm7ouFR1drQ",
|
|
"xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT"
|
|
},
|
|
"_RnPZgHcqEemrUqotql_Blw": {
|
|
"Heading": "Module Interface",
|
|
"last_change": "2019-05-15T19:44:08.696+02:00",
|
|
"system_type_uid": "_4-K5EHYYEem_kd-7nxt1sg",
|
|
"system_uid": "_RnPZgHcqEemrUqotql_Blw",
|
|
"xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT"
|
|
},
|
|
"_XzMFcHYZEem_kd-7nxt1sg": {
|
|
"Description": "The state machine shall call all registered methods in the same order like the registration with all user given arguments for a defined set of \\emph{transition\\_condition} and \\emph{target\\_state}.",
|
|
"Fitcriterion": "Methods are called in the registration order after state change with all user given arguments for the defined transition condition and targetstate and at least for one other condition not.",
|
|
"Heading": "State change callback for a defined transition and targetstate",
|
|
"ID": "REQ-1",
|
|
"ReasonForImplementation": "Triggering state change actions for a specific transition condition and targetstate.",
|
|
"last_change": "2019-05-16T21:37:30.301+02:00",
|
|
"system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg",
|
|
"system_uid": "_XzMFcHYZEem_kd-7nxt1sg",
|
|
"xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT"
|
|
},
|
|
"_YrdgQHbUEemIm_1APUisDQ": {
|
|
"Description": "The state machine shall call all registered methods in the same order like the registration with all user given arguments for a defined \\emph{transition\\_condition} and all \\emph{target\\_states}.",
|
|
"Fitcriterion": "Methods are called in the registration order after state change with all user given arguments for the defined transition condition and at least for one other transition condition not.",
|
|
"Heading": "State change callback for a defined transition",
|
|
"ID": "REQ-2",
|
|
"ReasonForImplementation": "Triggering state change actions for a specific transition condition.",
|
|
"last_change": "2019-05-16T21:37:44.199+02:00",
|
|
"system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg",
|
|
"system_uid": "_YrdgQHbUEemIm_1APUisDQ",
|
|
"xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT"
|
|
},
|
|
"_bDqbMHcrEemrUqotql_Blw": {
|
|
"Description": "The state machine shall return {\\tt None} for previous state after initalisation.",
|
|
"Fitcriterion": "The previous state is {\\tt None} after initialisation.",
|
|
"Heading": "Default Previous State",
|
|
"ID": "REQ-7",
|
|
"ReasonForImplementation": "Creation of a defined state after initialisation.",
|
|
"last_change": "2019-05-16T21:08:10.883+02:00",
|
|
"system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg",
|
|
"system_uid": "_bDqbMHcrEemrUqotql_Blw",
|
|
"xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT"
|
|
},
|
|
"_b_t78Hb4EemzkK7kGUMNfw": {
|
|
"Description": "The state machine shall call all registered methods in the same order like the registration with all user given arguments for all \\emph{transition\\_conditions} and a defined \\emph{target\\_state}.",
|
|
"Fitcriterion": "Methods are called in the registration order after state change with the defined targetstate and at least for one other targetstate not.",
|
|
"Heading": "State change callback for a defined targetstate",
|
|
"ID": "REQ-3",
|
|
"ReasonForImplementation": "Triggering state change actions for a specific targetstate.",
|
|
"last_change": "2019-05-16T21:31:32.716+02:00",
|
|
"system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg",
|
|
"system_uid": "_b_t78Hb4EemzkK7kGUMNfw",
|
|
"xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT"
|
|
},
|
|
"_e4QPUHb4EemzkK7kGUMNfw": {
|
|
"Description": "The state machine shall call all registered methods in the same order like the registration with all user given arguments for all transitions.",
|
|
"Fitcriterion": "Methods are called in the registration order after state change.",
|
|
"Heading": "State change callback for all kind of state changes",
|
|
"ID": "REQ-4",
|
|
"ReasonForImplementation": "Triggering state change actions for all transition conditions and targetstates.",
|
|
"last_change": "2019-05-16T21:31:47.447+02:00",
|
|
"system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg",
|
|
"system_uid": "_e4QPUHb4EemzkK7kGUMNfw",
|
|
"xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT"
|
|
},
|
|
"_fE3tMHczEemrUqotql_Blw": {
|
|
"Description": "The user shall be able to define for each transition a transition time. On change of the transition condition to {\\tt True}, the transition timer starts counting the time from 0.0s. After reaching the transition time, the transition gets active.",
|
|
"Fitcriterion": "The transition time and the restart of the transion timer by setting the transition condition to {\\tt False} and to {\\tt True} again results in the expected transition timing ($\\pm$0.05s).",
|
|
"Heading": "Transitiontiming",
|
|
"ID": "REQ-18",
|
|
"ReasonForImplementation": "Robustness of the state changes (e.g. Oscillating conditions shall be ignored).",
|
|
"last_change": "2019-05-17T07:49:08.930+02:00",
|
|
"system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg",
|
|
"system_uid": "_fE3tMHczEemrUqotql_Blw",
|
|
"xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT"
|
|
},
|
|
"_iTFPQHcrEemrUqotql_Blw": {
|
|
"Description": "The state machine shall store all given keyword arguments as variables of the classes instance.",
|
|
"Fitcriterion": "At least two given keyword arguments with different types are available after initialisation.",
|
|
"Heading": "Additional Keyword Arguments",
|
|
"ID": "REQ-8",
|
|
"ReasonForImplementation": "Store further information (e.g. for calculation of the transition conditions).",
|
|
"last_change": "2019-05-16T21:12:43.567+02:00",
|
|
"system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg",
|
|
"system_uid": "_iTFPQHcrEemrUqotql_Blw",
|
|
"xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT"
|
|
},
|
|
"_j2FvkHcqEemrUqotql_Blw": {
|
|
"Description": "The state machine shall return the string {\\tt \\_\\_init\\_\\_} for last transition condition after initalisation.",
|
|
"Fitcriterion": "The last transition condition is {\\tt \\_\\_init\\_\\_} after initialisation.",
|
|
"Heading": "Default Last Transition Condtion",
|
|
"ID": "REQ-6",
|
|
"ReasonForImplementation": "Creation of a defined state after initialisation.",
|
|
"last_change": "2019-05-16T21:08:04.307+02:00",
|
|
"system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg",
|
|
"system_uid": "_j2FvkHcqEemrUqotql_Blw",
|
|
"xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT"
|
|
},
|
|
"_tRZ50HcyEemrUqotql_Blw": {
|
|
"Description": "The Module shall have a method for getting the current state.",
|
|
"Fitcriterion": "At least one returend state fits to the expecation.",
|
|
"Heading": "This State",
|
|
"ID": "REQ-9",
|
|
"ReasonForImplementation": "Comfortable user interface.",
|
|
"last_change": "2019-05-16T10:20:42.971+02:00",
|
|
"system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg",
|
|
"system_uid": "_tRZ50HcyEemrUqotql_Blw",
|
|
"xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT"
|
|
},
|
|
"_vAtUQHcyEemrUqotql_Blw": {
|
|
"Description": "The Module shall have a method for checking if the given state is currently active.",
|
|
"Fitcriterion": "At least two calls with different return values fit to the expectation.",
|
|
"Heading": "This State is",
|
|
"ID": "REQ-10",
|
|
"ReasonForImplementation": "Comfortable user interface.",
|
|
"last_change": "2019-05-16T10:24:15.833+02:00",
|
|
"system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg",
|
|
"system_uid": "_vAtUQHcyEemrUqotql_Blw",
|
|
"xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT"
|
|
},
|
|
"_w49d4HcHEem_Z9BBpwIuJw": {
|
|
"Description": "The state machine shall start in the state, given while module initialisation.",
|
|
"Fitcriterion": "State machine is in the initial state after initialisation.",
|
|
"Heading": "Default State",
|
|
"ID": "REQ-5",
|
|
"ReasonForImplementation": "Creation of a defined state after initialisation.",
|
|
"last_change": "2019-05-16T21:07:54.431+02:00",
|
|
"system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg",
|
|
"system_uid": "_w49d4HcHEem_Z9BBpwIuJw",
|
|
"xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT"
|
|
},
|
|
"_yVA9oHcyEemrUqotql_Blw": {
|
|
"Description": "The Module shall have a method for getting the time since the last state change appears.",
|
|
"Fitcriterion": "At least one returned duration fits to the current state duration ($\\pm$ 0.05s).",
|
|
"Heading": "This State Duration",
|
|
"ID": "REQ-11",
|
|
"ReasonForImplementation": "Comfortable user interface.",
|
|
"last_change": "2019-05-16T10:30:02.024+02:00",
|
|
"system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg",
|
|
"system_uid": "_yVA9oHcyEemrUqotql_Blw",
|
|
"xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT"
|
|
}
|
|
},
|
|
"titel": "Title",
|
|
"uid_list_sorted": [
|
|
"_AtENoHb5EemzkK7kGUMNfw",
|
|
"_w49d4HcHEem_Z9BBpwIuJw",
|
|
"_j2FvkHcqEemrUqotql_Blw",
|
|
"_bDqbMHcrEemrUqotql_Blw",
|
|
"_iTFPQHcrEemrUqotql_Blw",
|
|
"_N_VvoHczEemrUqotql_Blw",
|
|
"_P7R34HczEemrUqotql_Blw",
|
|
"_fE3tMHczEemrUqotql_Blw",
|
|
"_C0Vi0HgPEemBsuKWG645TA",
|
|
"_RnPZgHcqEemrUqotql_Blw",
|
|
"_tRZ50HcyEemrUqotql_Blw",
|
|
"_vAtUQHcyEemrUqotql_Blw",
|
|
"_yVA9oHcyEemrUqotql_Blw",
|
|
"_1WGwEHcyEemrUqotql_Blw",
|
|
"_7Mq60HcyEemrUqotql_Blw",
|
|
"_-kytMHcyEemrUqotql_Blw",
|
|
"_AcYg8HczEemrUqotql_Blw",
|
|
"_GeMSYHczEemrUqotql_Blw",
|
|
"_MR7eOHYYEem_kd-7nxt1sg",
|
|
"_XzMFcHYZEem_kd-7nxt1sg",
|
|
"_YrdgQHbUEemIm_1APUisDQ",
|
|
"_b_t78Hb4EemzkK7kGUMNfw",
|
|
"_e4QPUHb4EemzkK7kGUMNfw",
|
|
"_QofFgK-aEeqZm7ouFR1drQ"
|
|
]
|
|
},
|
|
"system_information": {
|
|
"Architecture": "64bit",
|
|
"Distribution": "Linux Mint 20 ulyana",
|
|
"Hostname": "ahorn",
|
|
"Kernel": "5.4.0-58-generic (#64-Ubuntu SMP Wed Dec 9 08:16:25 UTC 2020)",
|
|
"Machine": "x86_64",
|
|
"Path": "/user_data/data/dirk/prj/unittest/state_machine/unittest",
|
|
"System": "Linux",
|
|
"Username": "dirk"
|
|
},
|
|
"testobject_information": {
|
|
"Dependencies": [],
|
|
"Description": "This Module helps implementing state machines.",
|
|
"Name": "state_machine",
|
|
"State": "Released",
|
|
"Supported Interpreters": "python2, python3",
|
|
"Version": "546dd35cadc32b0e414df9820aefd442"
|
|
},
|
|
"testrun_list": [
|
|
{
|
|
"heading_dict": {
|
|
"_-kytMHcyEemrUqotql_Blw": "Previous State",
|
|
"_1WGwEHcyEemrUqotql_Blw": "Last Transition Condition",
|
|
"_7Mq60HcyEemrUqotql_Blw": "Last Transition Condition was",
|
|
"_AcYg8HczEemrUqotql_Blw": "Previous State was",
|
|
"_AtENoHb5EemzkK7kGUMNfw": "Module Initialisation",
|
|
"_C0Vi0HgPEemBsuKWG645TA": "Transitionpriorisation",
|
|
"_GeMSYHczEemrUqotql_Blw": "Previous State Duration",
|
|
"_MR7eOHYYEem_kd-7nxt1sg": "Transition Callbacks",
|
|
"_N_VvoHczEemrUqotql_Blw": "Transition Changes",
|
|
"_P7R34HczEemrUqotql_Blw": "Transitiondefinition and -flow",
|
|
"_QofFgK-aEeqZm7ouFR1drQ": "Execution order of Callbacks",
|
|
"_RnPZgHcqEemrUqotql_Blw": "Module Interface",
|
|
"_XzMFcHYZEem_kd-7nxt1sg": "State change callback for a defined transition and targetstate",
|
|
"_YrdgQHbUEemIm_1APUisDQ": "State change callback for a defined transition",
|
|
"_bDqbMHcrEemrUqotql_Blw": "Default Previous State",
|
|
"_b_t78Hb4EemzkK7kGUMNfw": "State change callback for a defined targetstate",
|
|
"_e4QPUHb4EemzkK7kGUMNfw": "State change callback for all kind of state changes",
|
|
"_fE3tMHczEemrUqotql_Blw": "Transitiontiming",
|
|
"_iTFPQHcrEemrUqotql_Blw": "Additional Keyword Arguments",
|
|
"_j2FvkHcqEemrUqotql_Blw": "Default Last Transition Condtion",
|
|
"_tRZ50HcyEemrUqotql_Blw": "This State",
|
|
"_vAtUQHcyEemrUqotql_Blw": "This State is",
|
|
"_w49d4HcHEem_Z9BBpwIuJw": "Default State",
|
|
"_yVA9oHcyEemrUqotql_Blw": "This State Duration"
|
|
},
|
|
"interpreter": "python 2.7.18 (final)",
|
|
"name": "Default Testsession name",
|
|
"number_of_failed_tests": 0,
|
|
"number_of_possibly_failed_tests": 0,
|
|
"number_of_successfull_tests": 20,
|
|
"number_of_tests": 20,
|
|
"testcase_execution_level": 90,
|
|
"testcase_names": {
|
|
"0": "Single Test",
|
|
"10": "Smoke Test (Minumum subset)",
|
|
"50": "Short Test (Subset)",
|
|
"90": "Full Test (all defined tests)"
|
|
},
|
|
"testcases": {
|
|
"_-kytMHcyEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:49,626",
|
|
"created": 1608512029.626813,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 38,
|
|
"message": "_-kytMHcyEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 626.8129348754883,
|
|
"msg": "_-kytMHcyEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 947.4518299102783,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:49,627",
|
|
"created": 1608512029.627123,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_previous_state",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 56,
|
|
"message": "Running state machine test sequence.",
|
|
"module": "test_interface",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,626",
|
|
"created": 1608512029.626942,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 626.9419193267822,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 947.5808143615723,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,627",
|
|
"created": 1608512029.627052,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 627.0520687103271,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 947.6909637451172,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 627.1231174468994,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_interface.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 947.7620124816895,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 7.104873657226562e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,627",
|
|
"created": 1608512029.627343,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Returnvalue of previous_state() is correct (Content 'state_a' and Type is <type 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state()",
|
|
"'state_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,627",
|
|
"created": 1608512029.627223,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of previous_state()): 'state_a' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 627.223014831543,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 947.861909866333,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state()",
|
|
"'state_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,627",
|
|
"created": 1608512029.627284,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of previous_state()): result = 'state_a' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 627.284049987793,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 947.922945022583,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 627.342939376831,
|
|
"msg": "Returnvalue of previous_state() is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 947.9818344116211,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.888938903808594e-05
|
|
}
|
|
],
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0005300045013427734,
|
|
"time_finished": "2020-12-21 01:53:49,627",
|
|
"time_start": "2020-12-21 01:53:49,626"
|
|
},
|
|
"_1WGwEHcyEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:49,622",
|
|
"created": 1608512029.622806,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 36,
|
|
"message": "_1WGwEHcyEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 622.8060722351074,
|
|
"msg": "_1WGwEHcyEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 943.4449672698975,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:49,623",
|
|
"created": 1608512029.623696,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_last_transition_condition",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 41,
|
|
"message": "Running state machine test sequence.",
|
|
"module": "test_interface",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,623",
|
|
"created": 1608512029.623159,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 623.1589317321777,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 943.7978267669678,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,623",
|
|
"created": 1608512029.623487,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 623.4869956970215,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 944.1258907318115,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 623.6960887908936,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_interface.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 944.3349838256836,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002090930938720703
|
|
},
|
|
{
|
|
"args": [
|
|
"'condition_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,624",
|
|
"created": 1608512029.624385,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Returnvalue of last_transition_condition() is correct (Content 'condition_a' and Type is <type 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition()",
|
|
"'condition_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,624",
|
|
"created": 1608512029.624015,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of last_transition_condition()): 'condition_a' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 624.0150928497314,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 944.6539878845215,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition()",
|
|
"'condition_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,624",
|
|
"created": 1608512029.624206,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of last_transition_condition()): result = 'condition_a' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 624.2060661315918,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 944.8449611663818,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 624.3851184844971,
|
|
"msg": "Returnvalue of last_transition_condition() is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 945.0240135192871,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017905235290527344
|
|
}
|
|
],
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0015790462493896484,
|
|
"time_finished": "2020-12-21 01:53:49,624",
|
|
"time_start": "2020-12-21 01:53:49,622"
|
|
},
|
|
"_7Mq60HcyEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:49,624",
|
|
"created": 1608512029.624823,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 37,
|
|
"message": "_7Mq60HcyEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 624.8230934143066,
|
|
"msg": "_7Mq60HcyEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 945.4619884490967,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:49,625",
|
|
"created": 1608512029.625597,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_last_transition_condition_was",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 48,
|
|
"message": "Running state machine test sequence.",
|
|
"module": "test_interface",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,625",
|
|
"created": 1608512029.625142,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 625.1420974731445,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 945.7809925079346,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,625",
|
|
"created": 1608512029.625423,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 625.4229545593262,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 946.0618495941162,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 625.5970001220703,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_interface.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 946.2358951568604,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017404556274414062
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,626",
|
|
"created": 1608512029.626078,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Returnvalue of last_transition_condition(condition_a) is correct (Content True and Type is <type 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition(condition_a)",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,625",
|
|
"created": 1608512029.625848,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of last_transition_condition(condition_a)): True (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 625.8480548858643,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 946.4869499206543,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition(condition_a)",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,625",
|
|
"created": 1608512029.625982,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of last_transition_condition(condition_a)): result = True (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 625.9820461273193,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 946.6209411621094,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 626.0778903961182,
|
|
"msg": "Returnvalue of last_transition_condition(condition_a) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 946.7167854309082,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 9.584426879882812e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,626",
|
|
"created": 1608512029.626354,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Returnvalue of last_transition_condition(condition_c) is correct (Content False and Type is <type 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition(condition_c)",
|
|
"False",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,626",
|
|
"created": 1608512029.626234,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of last_transition_condition(condition_c)): False (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 626.2340545654297,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 946.8729496002197,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition(condition_c)",
|
|
"False",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,626",
|
|
"created": 1608512029.626298,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of last_transition_condition(condition_c)): result = False (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 626.2979507446289,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 946.936845779419,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 626.3539791107178,
|
|
"msg": "Returnvalue of last_transition_condition(condition_c) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 946.9928741455078,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.602836608886719e-05
|
|
}
|
|
],
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0015308856964111328,
|
|
"time_finished": "2020-12-21 01:53:49,626",
|
|
"time_start": "2020-12-21 01:53:49,624"
|
|
},
|
|
"_AcYg8HczEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:49,627",
|
|
"created": 1608512029.6275,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 39,
|
|
"message": "_AcYg8HczEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 627.500057220459,
|
|
"msg": "_AcYg8HczEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 948.138952255249,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:49,627",
|
|
"created": 1608512029.627746,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_previous_state_was",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 63,
|
|
"message": "Running state machine test sequence.",
|
|
"module": "test_interface",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,627",
|
|
"created": 1608512029.627593,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 627.5930404663086,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 948.2319355010986,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,627",
|
|
"created": 1608512029.627685,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 627.6850700378418,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 948.3239650726318,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 627.7461051940918,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_interface.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 948.3850002288818,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.103515625e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,627",
|
|
"created": 1608512029.627928,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Returnvalue of previous_state_was(state_a) is correct (Content True and Type is <type 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state_was(state_a)",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,627",
|
|
"created": 1608512029.62784,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of previous_state_was(state_a)): True (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 627.8400421142578,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 948.4789371490479,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state_was(state_a)",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,627",
|
|
"created": 1608512029.627882,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of previous_state_was(state_a)): result = True (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 627.8820037841797,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 948.5208988189697,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 627.9280185699463,
|
|
"msg": "Returnvalue of previous_state_was(state_a) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 948.5669136047363,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.601478576660156e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,628",
|
|
"created": 1608512029.628075,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Returnvalue of previous_state_was(state_b) is correct (Content False and Type is <type 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state_was(state_b)",
|
|
"False",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,627",
|
|
"created": 1608512029.627996,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of previous_state_was(state_b)): False (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 627.9959678649902,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 948.6348628997803,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state_was(state_b)",
|
|
"False",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,628",
|
|
"created": 1608512029.628035,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of previous_state_was(state_b)): result = False (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 628.0350685119629,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 948.6739635467529,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 628.0748844146729,
|
|
"msg": "Returnvalue of previous_state_was(state_b) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 948.7137794494629,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.981590270996094e-05
|
|
}
|
|
],
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0005748271942138672,
|
|
"time_finished": "2020-12-21 01:53:49,628",
|
|
"time_start": "2020-12-21 01:53:49,627"
|
|
},
|
|
"_C0Vi0HgPEemBsuKWG645TA": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:49,119",
|
|
"created": 1608512029.119409,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 30,
|
|
"message": "_C0Vi0HgPEemBsuKWG645TA",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 119.40908432006836,
|
|
"msg": "_C0Vi0HgPEemBsuKWG645TA",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 440.0479793548584,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
0.151,
|
|
0.15
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,119",
|
|
"created": 1608512029.119891,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "priorisation",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 136,
|
|
"message": "Initialising state machine with state_a, a transition to state_b after 0.151s and a transition to state_c after 0.150s",
|
|
"module": "test_transitions",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,119",
|
|
"created": 1608512029.119751,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 119.7509765625,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 440.38987159729004,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 119.89092826843262,
|
|
"msg": "Initialising state machine with state_a, a transition to state_b after %.03fs and a transition to state_c after %.03fs",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_transitions.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 440.52982330322266,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001399517059326172
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,120",
|
|
"created": 1608512029.12028,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Initial state after Initialisation is correct (Content 'state_a' and Type is <type 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"'state_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,120",
|
|
"created": 1608512029.120069,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Initial state after Initialisation): 'state_a' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 120.06902694702148,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 440.7079219818115,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"'state_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,120",
|
|
"created": 1608512029.120173,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Initial state after Initialisation): result = 'state_a' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 120.17297744750977,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 440.8118724822998,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 120.28002738952637,
|
|
"msg": "Initial state after Initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 440.9189224243164,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00010704994201660156
|
|
},
|
|
{
|
|
"args": [
|
|
0.3
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,363",
|
|
"created": 1608512029.363043,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "priorisation",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 144,
|
|
"message": "Waiting for 0.300s or state change",
|
|
"module": "test_transitions",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
7.152557373046875e-06
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,120",
|
|
"created": 1608512029.120451,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "priorisation",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 141,
|
|
"message": "Executing method work after 0.000s",
|
|
"module": "test_transitions",
|
|
"msecs": 120.45097351074219,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_transitions.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 441.0898685455322,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.060398101806640625
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,180",
|
|
"created": 1608512029.180937,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "priorisation",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 141,
|
|
"message": "Executing method work after 0.060s",
|
|
"module": "test_transitions",
|
|
"msecs": 180.9370517730713,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_transitions.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 501.5759468078613,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.12138819694519043
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,241",
|
|
"created": 1608512029.241861,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "priorisation",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 141,
|
|
"message": "Executing method work after 0.121s",
|
|
"module": "test_transitions",
|
|
"msecs": 241.86110496520996,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_transitions.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 562.5,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.18183112144470215
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,302",
|
|
"created": 1608512029.302295,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "priorisation",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 141,
|
|
"message": "Executing method work after 0.182s",
|
|
"module": "test_transitions",
|
|
"msecs": 302.2949695587158,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_transitions.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 622.9338645935059,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_true'",
|
|
"'state_a'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,302",
|
|
"created": 1608512029.302526,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_true'): 'state_a' -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 302.52599716186523,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 623.1648921966553,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 363.04306983947754,
|
|
"msg": "Waiting for %.3fs or state change",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_transitions.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 683.6819648742676,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.060517072677612305
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,365",
|
|
"created": 1608512029.365056,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "State after 1st cycle is correct (Content 'state_c' and Type is <type 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"State after 1st cycle",
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,364",
|
|
"created": 1608512029.364504,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (State after 1st cycle): 'state_c' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 364.5040988922119,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 685.142993927002,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 1st cycle",
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,364",
|
|
"created": 1608512029.364918,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after 1st cycle): result = 'state_c' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 364.9179935455322,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 685.5568885803223,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 365.05603790283203,
|
|
"msg": "State after 1st cycle is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 685.6949329376221,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001380443572998047
|
|
}
|
|
],
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.24564695358276367,
|
|
"time_finished": "2020-12-21 01:53:49,365",
|
|
"time_start": "2020-12-21 01:53:49,119"
|
|
},
|
|
"_GeMSYHczEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:49,628",
|
|
"created": 1608512029.628201,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 40,
|
|
"message": "_GeMSYHczEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 628.2010078430176,
|
|
"msg": "_GeMSYHczEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 948.8399028778076,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:50,380",
|
|
"created": 1608512030.380042,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_previous_state_duration",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 76,
|
|
"message": "Running state machine test sequence.",
|
|
"module": "test_interface",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,628",
|
|
"created": 1608512029.628283,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 628.2830238342285,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 948.9219188690186,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,628",
|
|
"created": 1608512029.628359,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 628.3590793609619,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 948.997974395752,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.75
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,628",
|
|
"created": 1608512029.628414,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_previous_state_duration",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 73,
|
|
"message": "Waiting for 0.75s",
|
|
"module": "test_interface",
|
|
"msecs": 628.4139156341553,
|
|
"msg": "Waiting for %.2fs",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_interface.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 949.0528106689453,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,379",
|
|
"created": 1608512030.379454,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_b' -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 379.4538974761963,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1700.0927925109863,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 380.04207611083984,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_interface.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1700.6809711456299,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0005881786346435547
|
|
},
|
|
{
|
|
"args": [
|
|
"0.7515342235565186",
|
|
"0.7",
|
|
"0.8",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,381",
|
|
"created": 1608512030.381271,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 218,
|
|
"message": "Return Value of previous_state_duration() is correct (Content 0.7515342235565186 in [0.7 ... 0.8] and Type is <type 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return Value of previous_state_duration()",
|
|
"0.7515342235565186",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,380",
|
|
"created": 1608512030.380711,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Return Value of previous_state_duration()): 0.7515342235565186 (<type 'float'>)",
|
|
"module": "test",
|
|
"msecs": 380.7110786437988,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1701.3499736785889,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value of previous_state_duration()",
|
|
"0.7",
|
|
"0.8"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,381",
|
|
"created": 1608512030.381021,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 30,
|
|
"message": "Expectation (Return Value of previous_state_duration()): 0.7 <= result <= 0.8",
|
|
"module": "test",
|
|
"msecs": 381.02102279663086,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1701.659917831421,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 381.2708854675293,
|
|
"msg": "Return Value of previous_state_duration() is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1701.9097805023193,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002498626708984375
|
|
}
|
|
],
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.7530698776245117,
|
|
"time_finished": "2020-12-21 01:53:50,381",
|
|
"time_start": "2020-12-21 01:53:49,628"
|
|
},
|
|
"_P7R34HczEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:48,739",
|
|
"created": 1608512028.739335,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 28,
|
|
"message": "_P7R34HczEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 739.3350601196289,
|
|
"msg": "_P7R34HczEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 59.973955154418945,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:48,739",
|
|
"created": 1608512028.739492,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "transitions",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 44,
|
|
"message": "Initialising state machine with state_a",
|
|
"module": "test_transitions",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,739",
|
|
"created": 1608512028.739438,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 739.4380569458008,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 60.07695198059082,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 739.4919395446777,
|
|
"msg": "Initialising state machine with state_a",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_transitions.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 60.13083457946777,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.3882598876953125e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,739",
|
|
"created": 1608512028.739641,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Initial state after Initialisation is correct (Content 'state_a' and Type is <type 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"'state_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,739",
|
|
"created": 1608512028.739559,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Initial state after Initialisation): 'state_a' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 739.5589351654053,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 60.19783020019531,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"'state_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,739",
|
|
"created": 1608512028.739601,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Initial state after Initialisation): result = 'state_a' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 739.6008968353271,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 60.23979187011719,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 739.6409511566162,
|
|
"msg": "Initial state after Initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 60.27984619140625,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.00543212890625e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:48,739",
|
|
"created": 1608512028.739775,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "transitions",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 47,
|
|
"message": "Work routine executed the 1st time to do the state change. Defined Transitions are: True->state_b (0.0s); False->state_c (0.0s)",
|
|
"module": "test_transitions",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_true'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,739",
|
|
"created": 1608512028.73972,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_true'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 739.7201061248779,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 60.35900115966797,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 739.7749423980713,
|
|
"msg": "Work routine executed the 1st time to do the state change. Defined Transitions are: True->state_b (0.0s); False->state_c (0.0s)",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_transitions.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 60.41383743286133,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.4836273193359375e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_b'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,739",
|
|
"created": 1608512028.739933,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "State after 1st execution of work method is correct (Content 'state_b' and Type is <type 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"State after 1st execution of work method",
|
|
"'state_b'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,739",
|
|
"created": 1608512028.73985,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (State after 1st execution of work method): 'state_b' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 739.8500442504883,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 60.48893928527832,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 1st execution of work method",
|
|
"'state_b'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,739",
|
|
"created": 1608512028.739893,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after 1st execution of work method): result = 'state_b' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 739.8929595947266,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 60.5318546295166,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 739.9330139160156,
|
|
"msg": "State after 1st execution of work method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 60.571908950805664,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.00543212890625e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:48,740",
|
|
"created": 1608512028.740055,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "transitions",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 50,
|
|
"message": "Work routine executed the 2nd time to do the state change. Defined Transitions are: False->state_a (0.0s); True->state_c (0.0s)",
|
|
"module": "test_transitions",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_true'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,740",
|
|
"created": 1608512028.740008,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_true'): 'state_b' -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 740.0081157684326,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 60.647010803222656,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 740.0550842285156,
|
|
"msg": "Work routine executed the 2nd time to do the state change. Defined Transitions are: False->state_a (0.0s); True->state_c (0.0s)",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_transitions.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 60.693979263305664,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.696846008300781e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,740",
|
|
"created": 1608512028.740202,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "State after 2nd execution of work method is correct (Content 'state_c' and Type is <type 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"State after 2nd execution of work method",
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,740",
|
|
"created": 1608512028.740119,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (State after 2nd execution of work method): 'state_c' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 740.1189804077148,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 60.75787544250488,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 2nd execution of work method",
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,740",
|
|
"created": 1608512028.740158,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after 2nd execution of work method): result = 'state_c' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 740.1580810546875,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 60.79697608947754,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 740.2019500732422,
|
|
"msg": "State after 2nd execution of work method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 60.84084510803223,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.38690185546875e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:48,740",
|
|
"created": 1608512028.740269,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "transitions",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 53,
|
|
"message": "Work routine executed the 3rd time with no effect. No Transitions starting from state_c (dead end)",
|
|
"module": "test_transitions",
|
|
"moduleLogger": [],
|
|
"msecs": 740.2689456939697,
|
|
"msg": "Work routine executed the 3rd time with no effect. No Transitions starting from state_c (dead end)",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_transitions.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 60.907840728759766,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,740",
|
|
"created": 1608512028.740415,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "State after 3rd execution of work method is correct (Content 'state_c' and Type is <type 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"State after 3rd execution of work method",
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,740",
|
|
"created": 1608512028.740332,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (State after 3rd execution of work method): 'state_c' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 740.3318881988525,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 60.97078323364258,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 3rd execution of work method",
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,740",
|
|
"created": 1608512028.740372,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after 3rd execution of work method): result = 'state_c' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 740.3719425201416,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 61.01083755493164,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 740.415096282959,
|
|
"msg": "State after 3rd execution of work method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 61.05399131774902,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.315376281738281e-05
|
|
}
|
|
],
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0010800361633300781,
|
|
"time_finished": "2020-12-21 01:53:48,740",
|
|
"time_start": "2020-12-21 01:53:48,739"
|
|
},
|
|
"_QofFgK-aEeqZm7ouFR1drQ": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:50,395",
|
|
"created": 1608512030.395927,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 47,
|
|
"message": "_QofFgK-aEeqZm7ouFR1drQ",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 395.92695236206055,
|
|
"msg": "_QofFgK-aEeqZm7ouFR1drQ",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1716.5658473968506,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:50,397",
|
|
"created": 1608512030.397347,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 166,
|
|
"message": "Callback execution order: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,396",
|
|
"created": 1608512030.396006,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 396.00610733032227,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1716.6450023651123,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,396",
|
|
"created": 1608512030.396085,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 396.0850238800049,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1716.723918914795,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,396",
|
|
"created": 1608512030.396133,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - unittest.test.report_value",
|
|
"module": "__init__",
|
|
"msecs": 396.1329460144043,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1716.7718410491943,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,396",
|
|
"created": 1608512030.396174,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 2 - unittest.test.report_value",
|
|
"module": "__init__",
|
|
"msecs": 396.17395401000977,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1716.8128490447998,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,396",
|
|
"created": 1608512030.396234,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_b' -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 396.23403549194336,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1716.8729305267334,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,396",
|
|
"created": 1608512030.396278,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - unittest.test.report_value",
|
|
"module": "__init__",
|
|
"msecs": 396.27790451049805,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1716.916799545288,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,396",
|
|
"created": 1608512030.396327,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 2 - unittest.test.report_value",
|
|
"module": "__init__",
|
|
"msecs": 396.32701873779297,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1716.965913772583,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Callback execution order",
|
|
"[ 'specific callback for reaching state_b', 'nonspecific callback', 'specific callback for reaching state_a', 'nonspecific callback' ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,396",
|
|
"created": 1608512030.396376,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Callback execution order): [ 'specific callback for reaching state_b', 'nonspecific callback', 'specific callback for reaching state_a', 'nonspecific callback' ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 396.3758945465088,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1717.0147895812988,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Callback execution order",
|
|
"[ 'specific callback for reaching state_b', 'nonspecific callback', 'specific callback for reaching state_a', 'nonspecific callback' ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,396",
|
|
"created": 1608512030.396485,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Callback execution order): result = [ 'specific callback for reaching state_b', 'nonspecific callback', 'specific callback for reaching state_a', 'nonspecific callback' ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 396.4850902557373,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1717.1239852905273,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"'specific callback for reaching state_b'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,396",
|
|
"created": 1608512030.396536,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 1): 'specific callback for reaching state_b' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 396.53611183166504,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1717.175006866455,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"'specific callback for reaching state_b'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,396",
|
|
"created": 1608512030.39663,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 'specific callback for reaching state_b' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 396.63004875183105,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1717.268943786621,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'specific callback for reaching state_b'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,396",
|
|
"created": 1608512030.396699,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 1 is correct (Content 'specific callback for reaching state_b' and Type is <type 'str'>).",
|
|
"module": "test",
|
|
"msecs": 396.6989517211914,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1717.3378467559814,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"'nonspecific callback'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,396",
|
|
"created": 1608512030.396767,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 2): 'nonspecific callback' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 396.76690101623535,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1717.4057960510254,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"'nonspecific callback'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,396",
|
|
"created": 1608512030.396844,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 'nonspecific callback' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 396.84391021728516,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1717.4828052520752,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'nonspecific callback'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,396",
|
|
"created": 1608512030.396915,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 2 is correct (Content 'nonspecific callback' and Type is <type 'str'>).",
|
|
"module": "test",
|
|
"msecs": 396.9149589538574,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1717.5538539886475,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"'specific callback for reaching state_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,396",
|
|
"created": 1608512030.396999,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 3): 'specific callback for reaching state_a' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 396.9988822937012,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1717.6377773284912,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"'specific callback for reaching state_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,397",
|
|
"created": 1608512030.397077,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 3): result = 'specific callback for reaching state_a' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 397.0770835876465,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1717.7159786224365,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'specific callback for reaching state_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,397",
|
|
"created": 1608512030.397153,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 3 is correct (Content 'specific callback for reaching state_a' and Type is <type 'str'>).",
|
|
"module": "test",
|
|
"msecs": 397.1529006958008,
|
|
"msg": "Submitted value number 3 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1717.7917957305908,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"'nonspecific callback'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,397",
|
|
"created": 1608512030.397218,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 4): 'nonspecific callback' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 397.2179889678955,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1717.8568840026855,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"'nonspecific callback'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,397",
|
|
"created": 1608512030.397259,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 4): result = 'nonspecific callback' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 397.258996963501,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1717.897891998291,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'nonspecific callback'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,397",
|
|
"created": 1608512030.397304,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 4 is correct (Content 'nonspecific callback' and Type is <type 'str'>).",
|
|
"module": "test",
|
|
"msecs": 397.3040580749512,
|
|
"msg": "Submitted value number 4 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1717.9429531097412,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 397.34697341918945,
|
|
"msg": "Callback execution order: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1717.9858684539795,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.291534423828125e-05
|
|
}
|
|
],
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0014200210571289062,
|
|
"time_finished": "2020-12-21 01:53:50,397",
|
|
"time_start": "2020-12-21 01:53:50,395"
|
|
},
|
|
"_XzMFcHYZEem_kd-7nxt1sg": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:50,382",
|
|
"created": 1608512030.38267,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 43,
|
|
"message": "_XzMFcHYZEem_kd-7nxt1sg",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 382.66992568969727,
|
|
"msg": "_XzMFcHYZEem_kd-7nxt1sg",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.3088207244873,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:50,386",
|
|
"created": 1608512030.386444,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 58,
|
|
"message": "Running state machine sequence and storing sequence number for each callback",
|
|
"module": "test_callbacks",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,383",
|
|
"created": 1608512030.383642,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 383.64195823669434,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.2808532714844,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,384",
|
|
"created": 1608512030.384215,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 1 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 384.2151165008545,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.8540115356445,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,384",
|
|
"created": 1608512030.384867,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 384.86695289611816,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.5058479309082,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,385",
|
|
"created": 1608512030.38512,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 385.1199150085449,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.758810043335,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,385",
|
|
"created": 1608512030.385264,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 2 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 385.26391983032227,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.9028148651123,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,385",
|
|
"created": 1608512030.385417,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 385.41698455810547,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.0558795928955,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,385",
|
|
"created": 1608512030.385541,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 3 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 385.5409622192383,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.1798572540283,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,385",
|
|
"created": 1608512030.385677,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 4 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 385.6770992279053,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.3159942626953,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,385",
|
|
"created": 1608512030.385818,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_b' -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 385.8180046081543,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.4568996429443,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,385",
|
|
"created": 1608512030.385948,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 5 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 385.94794273376465,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.5868377685547,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,386",
|
|
"created": 1608512030.386092,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 386.091947555542,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.730842590332,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,386",
|
|
"created": 1608512030.386225,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 6 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 386.22498512268066,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.8638801574707,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,386",
|
|
"created": 1608512030.386345,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_c'): 'state_b' -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 386.34490966796875,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.9838047027588,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 386.444091796875,
|
|
"msg": "Running state machine sequence and storing sequence number for each callback",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.082986831665,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 9.918212890625e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:50,387",
|
|
"created": 1608512030.387093,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 166,
|
|
"message": "Execution of state machine callback (1) (state_b, condition_a) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (state_b, condition_a) identified by a sequence number",
|
|
"[ 1 ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,386",
|
|
"created": 1608512030.386635,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Execution of state machine callback (1) (state_b, condition_a) identified by a sequence number): [ 1 ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 386.63506507873535,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.2739601135254,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (state_b, condition_a) identified by a sequence number",
|
|
"[ 1 ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,386",
|
|
"created": 1608512030.386732,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Execution of state machine callback (1) (state_b, condition_a) identified by a sequence number): result = [ 1 ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 386.7321014404297,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.3709964752197,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,386",
|
|
"created": 1608512030.386834,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 1): 1 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 386.83390617370605,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.472801208496,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,386",
|
|
"created": 1608512030.386918,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 1 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 386.9180679321289,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.556962966919,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,387",
|
|
"created": 1608512030.387007,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 1 is correct (Content 1 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 387.0069980621338,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.6458930969238,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 387.09306716918945,
|
|
"msg": "Execution of state machine callback (1) (state_b, condition_a) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.7319622039795,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 8.606910705566406e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:50,387",
|
|
"created": 1608512030.387763,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 166,
|
|
"message": "Execution of state machine callback (2) (state_b, condition_a) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (state_b, condition_a) identified by a sequence number",
|
|
"[ 2 ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,387",
|
|
"created": 1608512030.387251,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Execution of state machine callback (2) (state_b, condition_a) identified by a sequence number): [ 2 ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 387.2509002685547,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.8897953033447,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (state_b, condition_a) identified by a sequence number",
|
|
"[ 2 ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,387",
|
|
"created": 1608512030.387343,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Execution of state machine callback (2) (state_b, condition_a) identified by a sequence number): result = [ 2 ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 387.3429298400879,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.981824874878,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,387",
|
|
"created": 1608512030.387445,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 1): 2 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 387.44497299194336,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.0838680267334,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,387",
|
|
"created": 1608512030.387528,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 2 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 387.5279426574707,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.1668376922607,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,387",
|
|
"created": 1608512030.387647,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 1 is correct (Content 2 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 387.6469135284424,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.2858085632324,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 387.76302337646484,
|
|
"msg": "Execution of state machine callback (2) (state_b, condition_a) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.4019184112549,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00011610984802246094
|
|
}
|
|
],
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.005093097686767578,
|
|
"time_finished": "2020-12-21 01:53:50,387",
|
|
"time_start": "2020-12-21 01:53:50,382"
|
|
},
|
|
"_YrdgQHbUEemIm_1APUisDQ": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:50,388",
|
|
"created": 1608512030.388057,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 44,
|
|
"message": "_YrdgQHbUEemIm_1APUisDQ",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 388.05699348449707,
|
|
"msg": "_YrdgQHbUEemIm_1APUisDQ",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.695888519287,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:50,390",
|
|
"created": 1608512030.39018,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 58,
|
|
"message": "Running state machine sequence and storing sequence number for each callback",
|
|
"module": "test_callbacks",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,388",
|
|
"created": 1608512030.388231,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 388.2310390472412,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.8699340820312,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,388",
|
|
"created": 1608512030.38837,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 1 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 388.3700370788574,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.0089321136475,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,388",
|
|
"created": 1608512030.388526,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 388.52596282958984,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.1648578643799,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,388",
|
|
"created": 1608512030.388667,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 2 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 388.66710662841797,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.306001663208,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,388",
|
|
"created": 1608512030.388834,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_b' -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 388.83399963378906,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.472894668579,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,388",
|
|
"created": 1608512030.388939,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 388.93890380859375,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.5777988433838,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,389",
|
|
"created": 1608512030.389029,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 3 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 389.02902603149414,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.6679210662842,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,389",
|
|
"created": 1608512030.389129,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 389.1289234161377,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.7678184509277,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,389",
|
|
"created": 1608512030.389223,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 4 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 389.2230987548828,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.8619937896729,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,389",
|
|
"created": 1608512030.389324,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 5 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 389.3239498138428,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.9628448486328,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,389",
|
|
"created": 1608512030.389451,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 389.4510269165039,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1710.089921951294,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,389",
|
|
"created": 1608512030.389561,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 389.5609378814697,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1710.1998329162598,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,389",
|
|
"created": 1608512030.389655,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 6 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 389.65511322021484,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1710.2940082550049,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,389",
|
|
"created": 1608512030.389757,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 389.7569179534912,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1710.3958129882812,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
7
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,389",
|
|
"created": 1608512030.389842,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 7 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 389.84203338623047,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1710.4809284210205,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
8
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,389",
|
|
"created": 1608512030.389941,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 8 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 389.9409770965576,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1710.5798721313477,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,390",
|
|
"created": 1608512030.390059,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_c'): 'state_b' -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 390.0589942932129,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1710.697889328003,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 390.1801109313965,
|
|
"msg": "Running state machine sequence and storing sequence number for each callback",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1710.8190059661865,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00012111663818359375
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:50,390",
|
|
"created": 1608512030.390666,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 166,
|
|
"message": "Execution of state machine callback (1) (all_transitions, condition_b) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (all_transitions, condition_b) identified by a sequence number",
|
|
"[ 2, 5 ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,390",
|
|
"created": 1608512030.390276,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Execution of state machine callback (1) (all_transitions, condition_b) identified by a sequence number): [ 2, 5 ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 390.2759552001953,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1710.9148502349854,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (all_transitions, condition_b) identified by a sequence number",
|
|
"[ 2, 5 ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,390",
|
|
"created": 1608512030.390329,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Execution of state machine callback (1) (all_transitions, condition_b) identified by a sequence number): result = [ 2, 5 ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 390.32888412475586,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1710.967779159546,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,390",
|
|
"created": 1608512030.390381,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 1): 2 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 390.3810977935791,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1711.0199928283691,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,390",
|
|
"created": 1608512030.390427,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 2 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 390.4271125793457,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1711.0660076141357,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,390",
|
|
"created": 1608512030.390475,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 1 is correct (Content 2 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 390.4750347137451,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1711.1139297485352,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,390",
|
|
"created": 1608512030.390526,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 2): 5 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 390.52605628967285,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1711.164951324463,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,390",
|
|
"created": 1608512030.390572,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 5 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 390.57207107543945,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1711.2109661102295,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,390",
|
|
"created": 1608512030.390618,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 2 is correct (Content 5 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 390.61808586120605,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1711.256980895996,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 390.66600799560547,
|
|
"msg": "Execution of state machine callback (1) (all_transitions, condition_b) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1711.3049030303955,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.792213439941406e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:50,391",
|
|
"created": 1608512030.391142,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 166,
|
|
"message": "Execution of state machine callback (2) (all_transitions, condition_b) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (all_transitions, condition_b) identified by a sequence number",
|
|
"[ 3, 6 ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,390",
|
|
"created": 1608512030.390752,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Execution of state machine callback (2) (all_transitions, condition_b) identified by a sequence number): [ 3, 6 ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 390.75207710266113,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1711.3909721374512,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (all_transitions, condition_b) identified by a sequence number",
|
|
"[ 3, 6 ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,390",
|
|
"created": 1608512030.390803,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Execution of state machine callback (2) (all_transitions, condition_b) identified by a sequence number): result = [ 3, 6 ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 390.80309867858887,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1711.441993713379,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"3",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,390",
|
|
"created": 1608512030.390857,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 1): 3 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 390.8569812774658,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1711.4958763122559,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"3",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,390",
|
|
"created": 1608512030.390903,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 3 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 390.9029960632324,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1711.5418910980225,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"3",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,390",
|
|
"created": 1608512030.39095,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 1 is correct (Content 3 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 390.94996452331543,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1711.5888595581055,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"6",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,391",
|
|
"created": 1608512030.391001,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 2): 6 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 391.00098609924316,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1711.6398811340332,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"6",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,391",
|
|
"created": 1608512030.391047,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 6 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 391.04700088500977,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1711.6858959197998,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"6",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,391",
|
|
"created": 1608512030.391096,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 2 is correct (Content 6 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 391.0961151123047,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1711.7350101470947,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 391.1418914794922,
|
|
"msg": "Execution of state machine callback (2) (all_transitions, condition_b) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1711.7807865142822,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.57763671875e-05
|
|
}
|
|
],
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.003084897994995117,
|
|
"time_finished": "2020-12-21 01:53:50,391",
|
|
"time_start": "2020-12-21 01:53:50,388"
|
|
},
|
|
"_bDqbMHcrEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:48,737",
|
|
"created": 1608512028.737975,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 24,
|
|
"message": "_bDqbMHcrEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 737.9748821258545,
|
|
"msg": "_bDqbMHcrEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 58.61377716064453,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:48,738",
|
|
"created": 1608512028.738092,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_init.py",
|
|
"funcName": "test_init_last_state",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Initialising the state machine with state_c",
|
|
"module": "test_init",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,738",
|
|
"created": 1608512028.738044,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 738.044023513794,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 58.682918548583984,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 738.0919456481934,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_init.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 58.7308406829834,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.792213439941406e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,738",
|
|
"created": 1608512028.738323,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Last state after initialisation is correct (Content None and Type is <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Last state after initialisation",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,738",
|
|
"created": 1608512028.738237,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Last state after initialisation): None (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 738.2369041442871,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 58.87579917907715,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Last state after initialisation",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,738",
|
|
"created": 1608512028.738279,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Last state after initialisation): result = None (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 738.2791042327881,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 58.917999267578125,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 738.3229732513428,
|
|
"msg": "Last state after initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 58.96186828613281,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.38690185546875e-05
|
|
}
|
|
],
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00034809112548828125,
|
|
"time_finished": "2020-12-21 01:53:48,738",
|
|
"time_start": "2020-12-21 01:53:48,737"
|
|
},
|
|
"_b_t78Hb4EemzkK7kGUMNfw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:50,391",
|
|
"created": 1608512030.391286,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 45,
|
|
"message": "_b_t78Hb4EemzkK7kGUMNfw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 391.28589630126953,
|
|
"msg": "_b_t78Hb4EemzkK7kGUMNfw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1711.9247913360596,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:50,392",
|
|
"created": 1608512030.392298,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 58,
|
|
"message": "Running state machine sequence and storing sequence number for each callback",
|
|
"module": "test_callbacks",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,391",
|
|
"created": 1608512030.391377,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 391.3769721984863,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.0158672332764,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,391",
|
|
"created": 1608512030.391449,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 1 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 391.448974609375,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.087869644165,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,391",
|
|
"created": 1608512030.391536,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 391.53599739074707,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.174892425537,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,391",
|
|
"created": 1608512030.391593,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 391.59297943115234,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.2318744659424,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,391",
|
|
"created": 1608512030.391642,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 2 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 391.64209365844727,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.2809886932373,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,391",
|
|
"created": 1608512030.391696,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 391.6959762573242,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.3348712921143,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,391",
|
|
"created": 1608512030.39175,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 3 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 391.7500972747803,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.3889923095703,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,391",
|
|
"created": 1608512030.391795,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 4 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 391.79491996765137,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.4338150024414,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,391",
|
|
"created": 1608512030.391849,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_b' -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 391.8490409851074,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.4879360198975,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,391",
|
|
"created": 1608512030.391895,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 5 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 391.895055770874,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.533950805664,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,391",
|
|
"created": 1608512030.39195,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 391.9498920440674,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.5887870788574,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,391",
|
|
"created": 1608512030.391994,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 391.9939994812012,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.6328945159912,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,392",
|
|
"created": 1608512030.392054,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 6 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 392.05408096313477,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.6929759979248,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,392",
|
|
"created": 1608512030.39211,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 392.11010932922363,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.7490043640137,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
7
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,392",
|
|
"created": 1608512030.392147,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 7 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 392.1470642089844,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.7859592437744,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
8
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,392",
|
|
"created": 1608512030.3922,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 8 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 392.1999931335449,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.838888168335,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,392",
|
|
"created": 1608512030.392252,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_c'): 'state_b' -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 392.25196838378906,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.890863418579,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 392.29798316955566,
|
|
"msg": "Running state machine sequence and storing sequence number for each callback",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.9368782043457,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.601478576660156e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:50,392",
|
|
"created": 1608512030.392697,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 166,
|
|
"message": "Execution of state machine callback (1) (state_b, all_conditions) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (state_b, all_conditions) identified by a sequence number",
|
|
"[ 1, 5 ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,392",
|
|
"created": 1608512030.392376,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Execution of state machine callback (1) (state_b, all_conditions) identified by a sequence number): [ 1, 5 ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 392.3759460449219,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.014841079712,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (state_b, all_conditions) identified by a sequence number",
|
|
"[ 1, 5 ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,392",
|
|
"created": 1608512030.392421,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Execution of state machine callback (1) (state_b, all_conditions) identified by a sequence number): result = [ 1, 5 ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 392.42100715637207,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.059902191162,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,392",
|
|
"created": 1608512030.392464,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 1): 1 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 392.46392250061035,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.1028175354004,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,392",
|
|
"created": 1608512030.392505,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 1 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 392.5049304962158,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.1438255310059,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,392",
|
|
"created": 1608512030.392544,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 1 is correct (Content 1 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 392.5440311431885,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.1829261779785,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,392",
|
|
"created": 1608512030.392584,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 2): 5 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 392.58408546447754,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.2229804992676,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,392",
|
|
"created": 1608512030.392622,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 5 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 392.6219940185547,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.2608890533447,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,392",
|
|
"created": 1608512030.39266,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 2 is correct (Content 5 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 392.65990257263184,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.2987976074219,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 392.6970958709717,
|
|
"msg": "Execution of state machine callback (1) (state_b, all_conditions) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.3359909057617,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.719329833984375e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:50,393",
|
|
"created": 1608512030.393085,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 166,
|
|
"message": "Execution of state machine callback (2) (state_b, all_conditions) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (state_b, all_conditions) identified by a sequence number",
|
|
"[ 2, 6 ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,392",
|
|
"created": 1608512030.392771,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Execution of state machine callback (2) (state_b, all_conditions) identified by a sequence number): [ 2, 6 ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 392.77100563049316,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.4099006652832,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (state_b, all_conditions) identified by a sequence number",
|
|
"[ 2, 6 ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,392",
|
|
"created": 1608512030.392813,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Execution of state machine callback (2) (state_b, all_conditions) identified by a sequence number): result = [ 2, 6 ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 392.81296730041504,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.451862335205,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,392",
|
|
"created": 1608512030.392854,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 1): 2 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 392.8539752960205,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.4928703308105,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,392",
|
|
"created": 1608512030.392892,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 2 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 392.89188385009766,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.5307788848877,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,392",
|
|
"created": 1608512030.39293,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 1 is correct (Content 2 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 392.9300308227539,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.568925857544,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"6",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,392",
|
|
"created": 1608512030.392974,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 2): 6 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 392.9738998413086,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.6127948760986,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"6",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,393",
|
|
"created": 1608512030.393011,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 6 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 393.01109313964844,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.6499881744385,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"6",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,393",
|
|
"created": 1608512030.393049,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 2 is correct (Content 6 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 393.0490016937256,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.6878967285156,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 393.0850028991699,
|
|
"msg": "Execution of state machine callback (2) (state_b, all_conditions) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.72389793396,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.600120544433594e-05
|
|
}
|
|
],
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0017991065979003906,
|
|
"time_finished": "2020-12-21 01:53:50,393",
|
|
"time_start": "2020-12-21 01:53:50,391"
|
|
},
|
|
"_e4QPUHb4EemzkK7kGUMNfw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:50,393",
|
|
"created": 1608512030.393205,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 46,
|
|
"message": "_e4QPUHb4EemzkK7kGUMNfw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 393.204927444458,
|
|
"msg": "_e4QPUHb4EemzkK7kGUMNfw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.843822479248,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:50,394",
|
|
"created": 1608512030.394454,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 58,
|
|
"message": "Running state machine sequence and storing sequence number for each callback",
|
|
"module": "test_callbacks",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,393",
|
|
"created": 1608512030.39328,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 393.280029296875,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.918924331665,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,393",
|
|
"created": 1608512030.393338,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 1 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 393.3379650115967,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.9768600463867,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,393",
|
|
"created": 1608512030.393404,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 393.4040069580078,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.0429019927979,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,393",
|
|
"created": 1608512030.393451,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 393.4509754180908,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.0898704528809,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,393",
|
|
"created": 1608512030.393493,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 2 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 393.4929370880127,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.1318321228027,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,393",
|
|
"created": 1608512030.393537,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 393.5370445251465,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.1759395599365,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,393",
|
|
"created": 1608512030.393576,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 3 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 393.57590675354004,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.21480178833,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,393",
|
|
"created": 1608512030.393621,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 4 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 393.62096786499023,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.2598628997803,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,393",
|
|
"created": 1608512030.393678,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_b' -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 393.6779499053955,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.3168449401855,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,393",
|
|
"created": 1608512030.393722,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 393.7220573425293,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.3609523773193,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,393",
|
|
"created": 1608512030.393767,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 5 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 393.7671184539795,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.4060134887695,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,393",
|
|
"created": 1608512030.393812,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 393.8119411468506,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.4508361816406,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,393",
|
|
"created": 1608512030.393852,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 6 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 393.85199546813965,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.4908905029297,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
7
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,393",
|
|
"created": 1608512030.393895,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 7 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 393.89491081237793,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.533805847168,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,393",
|
|
"created": 1608512030.393947,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 393.94688606262207,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.585781097412,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,393",
|
|
"created": 1608512030.393991,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 393.99099349975586,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.629888534546,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
8
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,394",
|
|
"created": 1608512030.394029,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 8 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 394.028902053833,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.667797088623,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,394",
|
|
"created": 1608512030.394074,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 394.0739631652832,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.7128582000732,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
9
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,394",
|
|
"created": 1608512030.394111,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 9 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 394.11091804504395,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.749813079834,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
10
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,394",
|
|
"created": 1608512030.394193,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 10 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 394.1929340362549,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.831829071045,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,394",
|
|
"created": 1608512030.394248,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_c'): 'state_b' -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 394.24800872802734,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.8869037628174,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,394",
|
|
"created": 1608512030.394294,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 394.29402351379395,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.932918548584,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
11
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,394",
|
|
"created": 1608512030.394332,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 11 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 394.3319320678711,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.9708271026611,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,394",
|
|
"created": 1608512030.394374,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 394.37389373779297,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.012788772583,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
12
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,394",
|
|
"created": 1608512030.394411,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 12 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 394.4110870361328,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.0499820709229,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 394.4540023803711,
|
|
"msg": "Running state machine sequence and storing sequence number for each callback",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.0928974151611,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.291534423828125e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:50,395",
|
|
"created": 1608512030.39515,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 166,
|
|
"message": "Execution of state machine callback (1) (all_transitions, all_conditions) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (all_transitions, all_conditions) identified by a sequence number",
|
|
"[ 1, 4, 7, 10 ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,394",
|
|
"created": 1608512030.394534,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Execution of state machine callback (1) (all_transitions, all_conditions) identified by a sequence number): [ 1, 4, 7, 10 ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 394.5341110229492,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.1730060577393,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (all_transitions, all_conditions) identified by a sequence number",
|
|
"[ 1, 4, 7, 10 ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,394",
|
|
"created": 1608512030.394579,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Execution of state machine callback (1) (all_transitions, all_conditions) identified by a sequence number): result = [ 1, 4, 7, 10 ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 394.5789337158203,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.2178287506104,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,394",
|
|
"created": 1608512030.394622,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 1): 1 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 394.6220874786377,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.2609825134277,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,394",
|
|
"created": 1608512030.394663,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 1 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 394.66309547424316,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.3019905090332,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,394",
|
|
"created": 1608512030.394713,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 1 is correct (Content 1 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 394.7129249572754,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.3518199920654,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"4",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,394",
|
|
"created": 1608512030.394757,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 2): 4 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 394.7570323944092,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.3959274291992,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"4",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,394",
|
|
"created": 1608512030.394795,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 4 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 394.7949409484863,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.4338359832764,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"4",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,394",
|
|
"created": 1608512030.394851,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 2 is correct (Content 4 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 394.8509693145752,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.4898643493652,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"7",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,394",
|
|
"created": 1608512030.394893,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 3): 7 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 394.89293098449707,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.531826019287,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"7",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,394",
|
|
"created": 1608512030.394942,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 3): result = 7 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 394.942045211792,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.580940246582,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"7",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,394",
|
|
"created": 1608512030.394981,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 3 is correct (Content 7 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 394.98090744018555,
|
|
"msg": "Submitted value number 3 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.6198024749756,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"10",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,395",
|
|
"created": 1608512030.395024,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 4): 10 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 395.02406120300293,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.662956237793,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"10",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,395",
|
|
"created": 1608512030.395066,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 4): result = 10 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 395.0660228729248,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.7049179077148,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"10",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,395",
|
|
"created": 1608512030.395113,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 4 is correct (Content 10 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 395.1129913330078,
|
|
"msg": "Submitted value number 4 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.7518863677979,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 395.14994621276855,
|
|
"msg": "Execution of state machine callback (1) (all_transitions, all_conditions) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.7888412475586,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.695487976074219e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:50,395",
|
|
"created": 1608512030.395797,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 166,
|
|
"message": "Execution of state machine callback (2) (all_transitions, all_conditions) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (all_transitions, all_conditions) identified by a sequence number",
|
|
"[ 2, 5, 8, 11 ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,395",
|
|
"created": 1608512030.395224,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Execution of state machine callback (2) (all_transitions, all_conditions) identified by a sequence number): [ 2, 5, 8, 11 ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 395.22409439086914,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.8629894256592,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (all_transitions, all_conditions) identified by a sequence number",
|
|
"[ 2, 5, 8, 11 ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,395",
|
|
"created": 1608512030.395268,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Execution of state machine callback (2) (all_transitions, all_conditions) identified by a sequence number): result = [ 2, 5, 8, 11 ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 395.2679634094238,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.9068584442139,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,395",
|
|
"created": 1608512030.395309,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 1): 2 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 395.3089714050293,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.9478664398193,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,395",
|
|
"created": 1608512030.395351,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 2 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 395.3509330749512,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.9898281097412,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,395",
|
|
"created": 1608512030.39539,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 1 is correct (Content 2 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 395.3900337219238,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1716.0289287567139,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,395",
|
|
"created": 1608512030.39543,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 2): 5 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 395.4300880432129,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1716.068983078003,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,395",
|
|
"created": 1608512030.395467,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 5 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 395.46704292297363,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1716.1059379577637,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,395",
|
|
"created": 1608512030.39551,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 2 is correct (Content 5 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 395.5099582672119,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1716.148853302002,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"8",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,395",
|
|
"created": 1608512030.395554,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 3): 8 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 395.5540657043457,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1716.1929607391357,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"8",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,395",
|
|
"created": 1608512030.395591,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 3): result = 8 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 395.59102058410645,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1716.2299156188965,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"8",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,395",
|
|
"created": 1608512030.395629,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 3 is correct (Content 8 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 395.6289291381836,
|
|
"msg": "Submitted value number 3 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1716.2678241729736,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"11",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,395",
|
|
"created": 1608512030.395676,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 4): 11 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 395.6758975982666,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1716.3147926330566,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"11",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,395",
|
|
"created": 1608512030.395715,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 4): result = 11 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 395.71499824523926,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1716.3538932800293,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"11",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:50,395",
|
|
"created": 1608512030.395756,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 4 is correct (Content 11 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 395.7560062408447,
|
|
"msg": "Submitted value number 4 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1716.3949012756348,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 395.7970142364502,
|
|
"msg": "Execution of state machine callback (2) (all_transitions, all_conditions) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1716.4359092712402,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.100799560546875e-05
|
|
}
|
|
],
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0025920867919921875,
|
|
"time_finished": "2020-12-21 01:53:50,395",
|
|
"time_start": "2020-12-21 01:53:50,393"
|
|
},
|
|
"_fE3tMHczEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:48,740",
|
|
"created": 1608512028.740539,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 29,
|
|
"message": "_fE3tMHczEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 740.5390739440918,
|
|
"msg": "_fE3tMHczEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 61.177968978881836,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:48,740",
|
|
"created": 1608512028.740683,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "timing",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 84,
|
|
"message": "Initialising state machine with state_a",
|
|
"module": "test_transitions",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,740",
|
|
"created": 1608512028.740631,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 740.631103515625,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 61.26999855041504,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 740.6830787658691,
|
|
"msg": "Initialising state machine with state_a",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_transitions.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 61.32197380065918,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.1975250244140625e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,740",
|
|
"created": 1608512028.740838,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Initial state after Initialisation is correct (Content 'state_a' and Type is <type 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"'state_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,740",
|
|
"created": 1608512028.740754,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Initial state after Initialisation): 'state_a' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 740.7538890838623,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 61.392784118652344,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"'state_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,740",
|
|
"created": 1608512028.740795,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Initial state after Initialisation): result = 'state_a' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 740.7948970794678,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 61.43379211425781,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 740.8380508422852,
|
|
"msg": "Initial state after Initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 61.476945877075195,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.315376281738281e-05
|
|
},
|
|
{
|
|
"args": [
|
|
0.16
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,891",
|
|
"created": 1608512028.891387,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "timing",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 92,
|
|
"message": "Waiting for 0.160s or state change",
|
|
"module": "test_transitions",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_true'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,891",
|
|
"created": 1608512028.891022,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_true'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 891.0219669342041,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 211.66086196899414,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 891.3869857788086,
|
|
"msg": "Waiting for %.3fs or state change",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_transitions.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 212.02588081359863,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0003650188446044922
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_b'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,891",
|
|
"created": 1608512028.891825,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "State after 1st cycle is correct (Content 'state_b' and Type is <type 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"State after 1st cycle",
|
|
"'state_b'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,891",
|
|
"created": 1608512028.891672,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (State after 1st cycle): 'state_b' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 891.671895980835,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 212.310791015625,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 1st cycle",
|
|
"'state_b'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,891",
|
|
"created": 1608512028.891752,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after 1st cycle): result = 'state_b' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 891.7520046234131,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 212.39089965820312,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 891.8249607086182,
|
|
"msg": "State after 1st cycle is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 212.4638557434082,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 7.295608520507812e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"0.15047717094421387",
|
|
"0.145",
|
|
"0.155",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,892",
|
|
"created": 1608512028.892083,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 218,
|
|
"message": "Transition time after 1st cycle is correct (Content 0.15047717094421387 in [0.145 ... 0.155] and Type is <type 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Transition time after 1st cycle",
|
|
"0.15047717094421387",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,891",
|
|
"created": 1608512028.891944,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Transition time after 1st cycle): 0.15047717094421387 (<type 'float'>)",
|
|
"module": "test",
|
|
"msecs": 891.9439315795898,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 212.58282661437988,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Transition time after 1st cycle",
|
|
"0.145",
|
|
"0.155"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,892",
|
|
"created": 1608512028.892013,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 30,
|
|
"message": "Expectation (Transition time after 1st cycle): 0.145 <= result <= 0.155",
|
|
"module": "test",
|
|
"msecs": 892.0130729675293,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 212.65196800231934,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 892.082929611206,
|
|
"msg": "Transition time after 1st cycle is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 212.7218246459961,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.985664367675781e-05
|
|
},
|
|
{
|
|
"args": [
|
|
0.235
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,117",
|
|
"created": 1608512029.117873,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "timing",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 109,
|
|
"message": "Waiting for 0.235s or state change",
|
|
"module": "test_transitions",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_true'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,117",
|
|
"created": 1608512029.117423,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_true'): 'state_b' -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 117.42305755615234,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 438.0619525909424,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 117.87295341491699,
|
|
"msg": "Waiting for %.3fs or state change",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_transitions.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 438.51184844970703,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00044989585876464844
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,118",
|
|
"created": 1608512029.118307,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "State after 2nd cycle is correct (Content 'state_c' and Type is <type 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"State after 2nd cycle",
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,118",
|
|
"created": 1608512029.118105,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (State after 2nd cycle): 'state_c' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 118.10493469238281,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 438.74382972717285,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 2nd cycle",
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,118",
|
|
"created": 1608512029.118219,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after 2nd cycle): result = 'state_c' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 118.21889877319336,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 438.8577938079834,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 118.30711364746094,
|
|
"msg": "State after 2nd cycle is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 438.946008682251,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 8.821487426757812e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"0.15042805671691895",
|
|
"0.145",
|
|
"0.155",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,118",
|
|
"created": 1608512029.118757,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 218,
|
|
"message": "Transition time after 2nd cycle is correct (Content 0.15042805671691895 in [0.145 ... 0.155] and Type is <type 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Transition time after 2nd cycle",
|
|
"0.15042805671691895",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,118",
|
|
"created": 1608512029.118569,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Transition time after 2nd cycle): 0.15042805671691895 (<type 'float'>)",
|
|
"module": "test",
|
|
"msecs": 118.56889724731445,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 439.2077922821045,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Transition time after 2nd cycle",
|
|
"0.145",
|
|
"0.155"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,118",
|
|
"created": 1608512029.118646,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 30,
|
|
"message": "Expectation (Transition time after 2nd cycle): 0.145 <= result <= 0.155",
|
|
"module": "test",
|
|
"msecs": 118.64590644836426,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 439.2848014831543,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 118.75700950622559,
|
|
"msg": "Transition time after 2nd cycle is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 439.3959045410156,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00011110305786132812
|
|
},
|
|
{
|
|
"args": [
|
|
"0.22568202018737793",
|
|
"0.21999999999999997",
|
|
"0.22999999999999998",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,119",
|
|
"created": 1608512029.119093,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 218,
|
|
"message": "Previous state duration is correct (Content 0.22568202018737793 in [0.21999999999999997 ... 0.22999999999999998] and Type is <type 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Previous state duration",
|
|
"0.22568202018737793",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,118",
|
|
"created": 1608512029.118897,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Previous state duration): 0.22568202018737793 (<type 'float'>)",
|
|
"module": "test",
|
|
"msecs": 118.8969612121582,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 439.53585624694824,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Previous state duration",
|
|
"0.21999999999999997",
|
|
"0.22999999999999998"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,118",
|
|
"created": 1608512029.118985,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 30,
|
|
"message": "Expectation (Previous state duration): 0.21999999999999997 <= result <= 0.22999999999999998",
|
|
"module": "test",
|
|
"msecs": 118.98493766784668,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 439.6238327026367,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 119.09294128417969,
|
|
"msg": "Previous state duration is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 439.7318363189697,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00010800361633300781
|
|
}
|
|
],
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.3785538673400879,
|
|
"time_finished": "2020-12-21 01:53:49,119",
|
|
"time_start": "2020-12-21 01:53:48,740"
|
|
},
|
|
"_iTFPQHcrEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:48,738",
|
|
"created": 1608512028.738434,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 25,
|
|
"message": "_iTFPQHcrEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 738.4340763092041,
|
|
"msg": "_iTFPQHcrEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 59.07297134399414,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:48,738",
|
|
"created": 1608512028.738558,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_init.py",
|
|
"funcName": "test_init_keyword_arguments",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 36,
|
|
"message": "Initialising the state machine with state_c",
|
|
"module": "test_init",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,738",
|
|
"created": 1608512028.738505,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 738.5048866271973,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 59.143781661987305,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 738.5580539703369,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_init.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 59.19694900512695,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.316734313964844e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"{'1': 1, '2': 'two'}",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,738",
|
|
"created": 1608512028.738733,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Keyword argument kw_arg_no_4 stored in state_machine is correct (Content {'1': 1, '2': 'two'} and Type is <type 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_4 stored in state_machine",
|
|
"{ '1': 1, '2': 'two' }",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,738",
|
|
"created": 1608512028.738626,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Keyword argument kw_arg_no_4 stored in state_machine): { '1': 1, '2': 'two' } (<type 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 738.6260032653809,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 59.2648983001709,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_4 stored in state_machine",
|
|
"{ '1': 1, '2': 'two' }",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,738",
|
|
"created": 1608512028.73867,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Keyword argument kw_arg_no_4 stored in state_machine): result = { '1': 1, '2': 'two' } (<type 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 738.6701107025146,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 59.30900573730469,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 738.7330532073975,
|
|
"msg": "Keyword argument kw_arg_no_4 stored in state_machine is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 59.3719482421875,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.29425048828125e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,738",
|
|
"created": 1608512028.738882,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Keyword argument kw_arg_no_1 stored in state_machine is correct (Content 1 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_1 stored in state_machine",
|
|
"1",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,738",
|
|
"created": 1608512028.738802,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Keyword argument kw_arg_no_1 stored in state_machine): 1 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 738.8019561767578,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 59.44085121154785,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_1 stored in state_machine",
|
|
"1",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,738",
|
|
"created": 1608512028.738842,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Keyword argument kw_arg_no_1 stored in state_machine): result = 1 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 738.8420104980469,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 59.480905532836914,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 738.8820648193359,
|
|
"msg": "Keyword argument kw_arg_no_1 stored in state_machine is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 59.52095985412598,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.00543212890625e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,739",
|
|
"created": 1608512028.73905,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Keyword argument kw_arg_no_3 stored in state_machine is correct (Content True and Type is <type 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_3 stored in state_machine",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,738",
|
|
"created": 1608512028.738955,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Keyword argument kw_arg_no_3 stored in state_machine): True (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 738.955020904541,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 59.593915939331055,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_3 stored in state_machine",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,739",
|
|
"created": 1608512028.739002,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Keyword argument kw_arg_no_3 stored in state_machine): result = True (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 739.001989364624,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 59.64088439941406,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 739.0499114990234,
|
|
"msg": "Keyword argument kw_arg_no_3 stored in state_machine is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 59.68880653381348,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.792213439941406e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'2'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,739",
|
|
"created": 1608512028.739214,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Keyword argument kw_arg_no_2 stored in state_machine is correct (Content '2' and Type is <type 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_2 stored in state_machine",
|
|
"'2'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,739",
|
|
"created": 1608512028.739125,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Keyword argument kw_arg_no_2 stored in state_machine): '2' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 739.1250133514404,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 59.76390838623047,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_2 stored in state_machine",
|
|
"'2'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,739",
|
|
"created": 1608512028.739171,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Keyword argument kw_arg_no_2 stored in state_machine): result = '2' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 739.171028137207,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 59.80992317199707,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 739.2139434814453,
|
|
"msg": "Keyword argument kw_arg_no_2 stored in state_machine is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 59.85283851623535,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.291534423828125e-05
|
|
}
|
|
],
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0007798671722412109,
|
|
"time_finished": "2020-12-21 01:53:48,739",
|
|
"time_start": "2020-12-21 01:53:48,738"
|
|
},
|
|
"_j2FvkHcqEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:48,737",
|
|
"created": 1608512028.737582,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 23,
|
|
"message": "_j2FvkHcqEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 737.5819683074951,
|
|
"msg": "_j2FvkHcqEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 58.220863342285156,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:48,737",
|
|
"created": 1608512028.73771,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_init.py",
|
|
"funcName": "test_init_last_transition",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 18,
|
|
"message": "Initialising the state machine with state_c",
|
|
"module": "test_init",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,737",
|
|
"created": 1608512028.737656,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 737.6561164855957,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 58.29501152038574,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 737.7099990844727,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_init.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 58.348894119262695,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.3882598876953125e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'__init__'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,737",
|
|
"created": 1608512028.737858,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Last transition condition after initialisation is correct (Content '__init__' and Type is <type 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Last transition condition after initialisation",
|
|
"'__init__'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,737",
|
|
"created": 1608512028.737775,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Last transition condition after initialisation): '__init__' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 737.7750873565674,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 58.41398239135742,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Last transition condition after initialisation",
|
|
"'__init__'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,737",
|
|
"created": 1608512028.737817,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Last transition condition after initialisation): result = '__init__' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 737.8170490264893,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 58.4559440612793,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 737.8580570220947,
|
|
"msg": "Last transition condition after initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 58.496952056884766,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.100799560546875e-05
|
|
}
|
|
],
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002760887145996094,
|
|
"time_finished": "2020-12-21 01:53:48,737",
|
|
"time_start": "2020-12-21 01:53:48,737"
|
|
},
|
|
"_tRZ50HcyEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:49,365",
|
|
"created": 1608512029.365366,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 33,
|
|
"message": "_tRZ50HcyEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 365.36598205566406,
|
|
"msg": "_tRZ50HcyEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 686.0048770904541,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:49,365",
|
|
"created": 1608512029.365651,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_this_state",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 16,
|
|
"message": "Initialising the state machine with state_c",
|
|
"module": "test_interface",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,365",
|
|
"created": 1608512029.365536,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 365.5359745025635,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 686.1748695373535,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 365.65089225769043,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_interface.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 686.2897872924805,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00011491775512695312
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,365",
|
|
"created": 1608512029.365967,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Returnvalue of this_state() is correct (Content 'state_c' and Type is <type 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state()",
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,365",
|
|
"created": 1608512029.365795,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of this_state()): 'state_c' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 365.7948970794678,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 686.4337921142578,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state()",
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,365",
|
|
"created": 1608512029.365883,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of this_state()): result = 'state_c' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 365.88311195373535,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 686.5220069885254,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 365.9670352935791,
|
|
"msg": "Returnvalue of this_state() is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 686.6059303283691,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 8.392333984375e-05
|
|
}
|
|
],
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0006010532379150391,
|
|
"time_finished": "2020-12-21 01:53:49,365",
|
|
"time_start": "2020-12-21 01:53:49,365"
|
|
},
|
|
"_vAtUQHcyEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:49,366",
|
|
"created": 1608512029.366913,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 34,
|
|
"message": "_vAtUQHcyEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 366.9130802154541,
|
|
"msg": "_vAtUQHcyEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 687.5519752502441,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:49,367",
|
|
"created": 1608512029.367719,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_this_state_is",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Initialising the state machine with state_c",
|
|
"module": "test_interface",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,367",
|
|
"created": 1608512029.367553,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 367.5529956817627,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 688.1918907165527,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 367.7189350128174,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_interface.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 688.3578300476074,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001659393310546875
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,368",
|
|
"created": 1608512029.368153,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Returnvalue of this_state_is(state_c) is correct (Content True and Type is <type 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state_is(state_c)",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,367",
|
|
"created": 1608512029.367916,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of this_state_is(state_c)): True (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 367.9161071777344,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 688.5550022125244,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state_is(state_c)",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,368",
|
|
"created": 1608512029.36804,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of this_state_is(state_c)): result = True (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 368.0400848388672,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 688.6789798736572,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 368.1530952453613,
|
|
"msg": "Returnvalue of this_state_is(state_c) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 688.7919902801514,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00011301040649414062
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,368",
|
|
"created": 1608512029.368615,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Returnvalue of this_state_is(state_b) is correct (Content False and Type is <type 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state_is(state_b)",
|
|
"False",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,368",
|
|
"created": 1608512029.368395,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of this_state_is(state_b)): False (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 368.3950901031494,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 689.0339851379395,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state_is(state_b)",
|
|
"False",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,368",
|
|
"created": 1608512029.368507,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of this_state_is(state_b)): result = False (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 368.50690841674805,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 689.1458034515381,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 368.61491203308105,
|
|
"msg": "Returnvalue of this_state_is(state_b) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 689.2538070678711,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00010800361633300781
|
|
}
|
|
],
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0017018318176269531,
|
|
"time_finished": "2020-12-21 01:53:49,368",
|
|
"time_start": "2020-12-21 01:53:49,366"
|
|
},
|
|
"_w49d4HcHEem_Z9BBpwIuJw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:48,736",
|
|
"created": 1608512028.736869,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 22,
|
|
"message": "_w49d4HcHEem_Z9BBpwIuJw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 736.8690967559814,
|
|
"msg": "_w49d4HcHEem_Z9BBpwIuJw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 57.507991790771484,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:48,737",
|
|
"created": 1608512028.737278,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_init.py",
|
|
"funcName": "test_init_state",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 12,
|
|
"message": "Initialising the state machine with state_c",
|
|
"module": "test_init",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,737",
|
|
"created": 1608512028.737208,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 737.2078895568848,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 57.846784591674805,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 737.2779846191406,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_init.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 57.916879653930664,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 7.009506225585938e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,737",
|
|
"created": 1608512028.737465,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "State after initialisation is correct (Content 'state_c' and Type is <type 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"State after initialisation",
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,737",
|
|
"created": 1608512028.737359,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (State after initialisation): 'state_c' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 737.3590469360352,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 57.997941970825195,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after initialisation",
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:48,737",
|
|
"created": 1608512028.737415,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after initialisation): result = 'state_c' (<type 'str'>)",
|
|
"module": "test",
|
|
"msecs": 737.415075302124,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 58.05397033691406,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 737.4649047851562,
|
|
"msg": "State after initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 58.10379981994629,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.982948303222656e-05
|
|
}
|
|
],
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0005958080291748047,
|
|
"time_finished": "2020-12-21 01:53:48,737",
|
|
"time_start": "2020-12-21 01:53:48,736"
|
|
},
|
|
"_yVA9oHcyEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:49,368",
|
|
"created": 1608512029.36895,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 35,
|
|
"message": "_yVA9oHcyEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 368.94989013671875,
|
|
"msg": "_yVA9oHcyEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 689.5887851715088,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:49,620",
|
|
"created": 1608512029.620794,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_this_state_duration",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 34,
|
|
"message": "Running state machine test sequence.",
|
|
"module": "test_interface",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,369",
|
|
"created": 1608512029.3692,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 369.1999912261963,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 689.8388862609863,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,369",
|
|
"created": 1608512029.369482,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 369.48204040527344,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 690.1209354400635,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.25
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,620",
|
|
"created": 1608512029.62012,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_this_state_duration",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 33,
|
|
"message": "Waiting for 0.25s",
|
|
"module": "test_interface",
|
|
"msecs": 620.1200485229492,
|
|
"msg": "Waiting for %.2fs",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_interface.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 940.7589435577393,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 620.7940578460693,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_interface.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 941.4329528808594,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0006740093231201172
|
|
},
|
|
{
|
|
"args": [
|
|
"0.25178098678588867",
|
|
"0.2",
|
|
"0.3",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,622",
|
|
"created": 1608512029.622085,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 218,
|
|
"message": "Return Value of this_state_duration() is correct (Content 0.25178098678588867 in [0.2 ... 0.3] and Type is <type 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return Value of this_state_duration()",
|
|
"0.25178098678588867",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,621",
|
|
"created": 1608512029.621479,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Return Value of this_state_duration()): 0.25178098678588867 (<type 'float'>)",
|
|
"module": "test",
|
|
"msecs": 621.4790344238281,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 942.1179294586182,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value of this_state_duration()",
|
|
"0.2",
|
|
"0.3"
|
|
],
|
|
"asctime": "2020-12-21 01:53:49,621",
|
|
"created": 1608512029.621806,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 30,
|
|
"message": "Expectation (Return Value of this_state_duration()): 0.2 <= result <= 0.3",
|
|
"module": "test",
|
|
"msecs": 621.8059062957764,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 942.4448013305664,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 622.0850944519043,
|
|
"msg": "Return Value of this_state_duration() is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99608,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 942.7239894866943,
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002791881561279297
|
|
}
|
|
],
|
|
"thread": 139933697447744,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.25313520431518555,
|
|
"time_finished": "2020-12-21 01:53:49,622",
|
|
"time_start": "2020-12-21 01:53:49,368"
|
|
}
|
|
},
|
|
"testrun_id": "p2",
|
|
"time_consumption": 1.6539926528930664,
|
|
"uid_list_sorted": [
|
|
"_w49d4HcHEem_Z9BBpwIuJw",
|
|
"_j2FvkHcqEemrUqotql_Blw",
|
|
"_bDqbMHcrEemrUqotql_Blw",
|
|
"_iTFPQHcrEemrUqotql_Blw",
|
|
"_P7R34HczEemrUqotql_Blw",
|
|
"_fE3tMHczEemrUqotql_Blw",
|
|
"_C0Vi0HgPEemBsuKWG645TA",
|
|
"_tRZ50HcyEemrUqotql_Blw",
|
|
"_vAtUQHcyEemrUqotql_Blw",
|
|
"_yVA9oHcyEemrUqotql_Blw",
|
|
"_1WGwEHcyEemrUqotql_Blw",
|
|
"_7Mq60HcyEemrUqotql_Blw",
|
|
"_-kytMHcyEemrUqotql_Blw",
|
|
"_AcYg8HczEemrUqotql_Blw",
|
|
"_GeMSYHczEemrUqotql_Blw",
|
|
"_XzMFcHYZEem_kd-7nxt1sg",
|
|
"_YrdgQHbUEemIm_1APUisDQ",
|
|
"_b_t78Hb4EemzkK7kGUMNfw",
|
|
"_e4QPUHb4EemzkK7kGUMNfw",
|
|
"_QofFgK-aEeqZm7ouFR1drQ"
|
|
]
|
|
},
|
|
{
|
|
"heading_dict": {
|
|
"_-kytMHcyEemrUqotql_Blw": "Previous State",
|
|
"_1WGwEHcyEemrUqotql_Blw": "Last Transition Condition",
|
|
"_7Mq60HcyEemrUqotql_Blw": "Last Transition Condition was",
|
|
"_AcYg8HczEemrUqotql_Blw": "Previous State was",
|
|
"_AtENoHb5EemzkK7kGUMNfw": "Module Initialisation",
|
|
"_C0Vi0HgPEemBsuKWG645TA": "Transitionpriorisation",
|
|
"_GeMSYHczEemrUqotql_Blw": "Previous State Duration",
|
|
"_MR7eOHYYEem_kd-7nxt1sg": "Transition Callbacks",
|
|
"_N_VvoHczEemrUqotql_Blw": "Transition Changes",
|
|
"_P7R34HczEemrUqotql_Blw": "Transitiondefinition and -flow",
|
|
"_QofFgK-aEeqZm7ouFR1drQ": "Execution order of Callbacks",
|
|
"_RnPZgHcqEemrUqotql_Blw": "Module Interface",
|
|
"_XzMFcHYZEem_kd-7nxt1sg": "State change callback for a defined transition and targetstate",
|
|
"_YrdgQHbUEemIm_1APUisDQ": "State change callback for a defined transition",
|
|
"_bDqbMHcrEemrUqotql_Blw": "Default Previous State",
|
|
"_b_t78Hb4EemzkK7kGUMNfw": "State change callback for a defined targetstate",
|
|
"_e4QPUHb4EemzkK7kGUMNfw": "State change callback for all kind of state changes",
|
|
"_fE3tMHczEemrUqotql_Blw": "Transitiontiming",
|
|
"_iTFPQHcrEemrUqotql_Blw": "Additional Keyword Arguments",
|
|
"_j2FvkHcqEemrUqotql_Blw": "Default Last Transition Condtion",
|
|
"_tRZ50HcyEemrUqotql_Blw": "This State",
|
|
"_vAtUQHcyEemrUqotql_Blw": "This State is",
|
|
"_w49d4HcHEem_Z9BBpwIuJw": "Default State",
|
|
"_yVA9oHcyEemrUqotql_Blw": "This State Duration"
|
|
},
|
|
"interpreter": "python 3.8.5 (final)",
|
|
"name": "Default Testsession name",
|
|
"number_of_failed_tests": 0,
|
|
"number_of_possibly_failed_tests": 0,
|
|
"number_of_successfull_tests": 20,
|
|
"number_of_tests": 20,
|
|
"testcase_execution_level": 90,
|
|
"testcase_names": {
|
|
"0": "Single Test",
|
|
"10": "Smoke Test (Minumum subset)",
|
|
"50": "Short Test (Subset)",
|
|
"90": "Full Test (all defined tests)"
|
|
},
|
|
"testcases": {
|
|
"_-kytMHcyEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:51,942",
|
|
"created": 1608512031.9428847,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 38,
|
|
"message": "_-kytMHcyEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 942.8846836090088,
|
|
"msg": "_-kytMHcyEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1003.7353038787842,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:51,943",
|
|
"created": 1608512031.9433522,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_previous_state",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 56,
|
|
"message": "Running state machine test sequence.",
|
|
"module": "test_interface",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,943",
|
|
"created": 1608512031.9430552,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 943.0551528930664,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1003.9057731628418,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,943",
|
|
"created": 1608512031.9432154,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 943.2153701782227,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1004.065990447998,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 943.352222442627,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_interface.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1004.2028427124023,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00013685226440429688
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,943",
|
|
"created": 1608512031.9436967,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Returnvalue of previous_state() is correct (Content 'state_a' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state()",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,943",
|
|
"created": 1608512031.9435015,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of previous_state()): 'state_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 943.5014724731445,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1004.3520927429199,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state()",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,943",
|
|
"created": 1608512031.943593,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of previous_state()): result = 'state_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 943.5930252075195,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1004.4436454772949,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 943.6967372894287,
|
|
"msg": "Returnvalue of previous_state() is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1004.5473575592041,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00010371208190917969
|
|
}
|
|
],
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0008120536804199219,
|
|
"time_finished": "2020-12-21 01:53:51,943",
|
|
"time_start": "2020-12-21 01:53:51,942"
|
|
},
|
|
"_1WGwEHcyEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:51,938",
|
|
"created": 1608512031.9388926,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 36,
|
|
"message": "_1WGwEHcyEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 938.8926029205322,
|
|
"msg": "_1WGwEHcyEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 999.7432231903076,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:51,939",
|
|
"created": 1608512031.9395313,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_last_transition_condition",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 41,
|
|
"message": "Running state machine test sequence.",
|
|
"module": "test_interface",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,939",
|
|
"created": 1608512031.939171,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 939.1710758209229,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1000.0216960906982,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,939",
|
|
"created": 1608512031.9394,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 939.3999576568604,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1000.2505779266357,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 939.5313262939453,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_interface.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1000.3819465637207,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00013136863708496094
|
|
},
|
|
{
|
|
"args": [
|
|
"'condition_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,939",
|
|
"created": 1608512031.9399338,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Returnvalue of last_transition_condition() is correct (Content 'condition_a' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition()",
|
|
"'condition_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,939",
|
|
"created": 1608512031.9397173,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of last_transition_condition()): 'condition_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 939.7172927856445,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1000.5679130554199,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition()",
|
|
"'condition_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,939",
|
|
"created": 1608512031.9398317,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of last_transition_condition()): result = 'condition_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 939.8317337036133,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1000.6823539733887,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 939.9337768554688,
|
|
"msg": "Returnvalue of last_transition_condition() is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1000.7843971252441,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00010204315185546875
|
|
}
|
|
],
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0010411739349365234,
|
|
"time_finished": "2020-12-21 01:53:51,939",
|
|
"time_start": "2020-12-21 01:53:51,938"
|
|
},
|
|
"_7Mq60HcyEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:51,940",
|
|
"created": 1608512031.940231,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 37,
|
|
"message": "_7Mq60HcyEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 940.2310848236084,
|
|
"msg": "_7Mq60HcyEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1001.0817050933838,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:51,940",
|
|
"created": 1608512031.9409828,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_last_transition_condition_was",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 48,
|
|
"message": "Running state machine test sequence.",
|
|
"module": "test_interface",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,940",
|
|
"created": 1608512031.9405072,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 940.507173538208,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1001.3577938079834,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,940",
|
|
"created": 1608512031.9407485,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 940.7484531402588,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1001.5990734100342,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 940.9828186035156,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_interface.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1001.833438873291,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00023436546325683594
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,942",
|
|
"created": 1608512031.9420965,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Returnvalue of last_transition_condition(condition_a) is correct (Content True and Type is <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition(condition_a)",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,941",
|
|
"created": 1608512031.9418643,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of last_transition_condition(condition_a)): True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 941.8642520904541,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1002.7148723602295,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition(condition_a)",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,941",
|
|
"created": 1608512031.941991,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of last_transition_condition(condition_a)): result = True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 941.9910907745361,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1002.8417110443115,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 942.096471786499,
|
|
"msg": "Returnvalue of last_transition_condition(condition_a) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1002.9470920562744,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00010538101196289062
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,942",
|
|
"created": 1608512031.9425597,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Returnvalue of last_transition_condition(condition_c) is correct (Content False and Type is <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition(condition_c)",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,942",
|
|
"created": 1608512031.9423437,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of last_transition_condition(condition_c)): False (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 942.3437118530273,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1003.1943321228027,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition(condition_c)",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,942",
|
|
"created": 1608512031.9424486,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of last_transition_condition(condition_c)): result = False (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 942.448616027832,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1003.2992362976074,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 942.5597190856934,
|
|
"msg": "Returnvalue of last_transition_condition(condition_c) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1003.4103393554688,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00011110305786132812
|
|
}
|
|
],
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.002328634262084961,
|
|
"time_finished": "2020-12-21 01:53:51,942",
|
|
"time_start": "2020-12-21 01:53:51,940"
|
|
},
|
|
"_AcYg8HczEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:51,944",
|
|
"created": 1608512031.944097,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 39,
|
|
"message": "_AcYg8HczEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 944.0970420837402,
|
|
"msg": "_AcYg8HczEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1004.9476623535156,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:51,944",
|
|
"created": 1608512031.9444966,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_previous_state_was",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 63,
|
|
"message": "Running state machine test sequence.",
|
|
"module": "test_interface",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,944",
|
|
"created": 1608512031.9443066,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 944.3066120147705,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1005.1572322845459,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,944",
|
|
"created": 1608512031.9444182,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 944.41819190979,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1005.2688121795654,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 944.4966316223145,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_interface.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1005.3472518920898,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 7.843971252441406e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,944",
|
|
"created": 1608512031.9447584,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Returnvalue of previous_state_was(state_a) is correct (Content True and Type is <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state_was(state_a)",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,944",
|
|
"created": 1608512031.9446108,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of previous_state_was(state_a)): True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 944.6108341217041,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1005.4614543914795,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state_was(state_a)",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,944",
|
|
"created": 1608512031.9446776,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of previous_state_was(state_a)): result = True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 944.6775913238525,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1005.5282115936279,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 944.758415222168,
|
|
"msg": "Returnvalue of previous_state_was(state_a) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1005.6090354919434,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 8.082389831542969e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,945",
|
|
"created": 1608512031.9450028,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Returnvalue of previous_state_was(state_b) is correct (Content False and Type is <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state_was(state_b)",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,944",
|
|
"created": 1608512031.9448667,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of previous_state_was(state_b)): False (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 944.8666572570801,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1005.7172775268555,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state_was(state_b)",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,944",
|
|
"created": 1608512031.9449353,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of previous_state_was(state_b)): result = False (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 944.9353218078613,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1005.7859420776367,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 945.0027942657471,
|
|
"msg": "Returnvalue of previous_state_was(state_b) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1005.8534145355225,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.747245788574219e-05
|
|
}
|
|
],
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0009057521820068359,
|
|
"time_finished": "2020-12-21 01:53:51,945",
|
|
"time_start": "2020-12-21 01:53:51,944"
|
|
},
|
|
"_C0Vi0HgPEemBsuKWG645TA": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:51,438",
|
|
"created": 1608512031.4388745,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 30,
|
|
"message": "_C0Vi0HgPEemBsuKWG645TA",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 438.8744831085205,
|
|
"msg": "_C0Vi0HgPEemBsuKWG645TA",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 499.7251033782959,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
0.151,
|
|
0.15
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,439",
|
|
"created": 1608512031.4393237,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "priorisation",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 136,
|
|
"message": "Initialising state machine with state_a, a transition to state_b after 0.151s and a transition to state_c after 0.150s",
|
|
"module": "test_transitions",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,439",
|
|
"created": 1608512031.4391952,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 439.1951560974121,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 500.0457763671875,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 439.32366371154785,
|
|
"msg": "Initialising state machine with state_a, a transition to state_b after %.03fs and a transition to state_c after %.03fs",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_transitions.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 500.17428398132324,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001285076141357422
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,439",
|
|
"created": 1608512031.439701,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Initial state after Initialisation is correct (Content 'state_a' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,439",
|
|
"created": 1608512031.439499,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Initial state after Initialisation): 'state_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 439.4989013671875,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 500.3495216369629,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,439",
|
|
"created": 1608512031.439601,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Initial state after Initialisation): result = 'state_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 439.60094451904297,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 500.45156478881836,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 439.7010803222656,
|
|
"msg": "Initial state after Initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 500.551700592041,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00010013580322265625
|
|
},
|
|
{
|
|
"args": [
|
|
0.3
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,683",
|
|
"created": 1608512031.6832652,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "priorisation",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 144,
|
|
"message": "Waiting for 0.300s or state change",
|
|
"module": "test_transitions",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
6.4373016357421875e-06
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,439",
|
|
"created": 1608512031.4398274,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "priorisation",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 141,
|
|
"message": "Executing method work after 0.000s",
|
|
"module": "test_transitions",
|
|
"msecs": 439.82744216918945,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_transitions.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 500.67806243896484,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.06042790412902832
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,500",
|
|
"created": 1608512031.5003133,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "priorisation",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 141,
|
|
"message": "Executing method work after 0.060s",
|
|
"module": "test_transitions",
|
|
"msecs": 500.31328201293945,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_transitions.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 561.1639022827148,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.1212306022644043
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,561",
|
|
"created": 1608512031.5610917,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "priorisation",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 141,
|
|
"message": "Executing method work after 0.121s",
|
|
"module": "test_transitions",
|
|
"msecs": 561.0916614532471,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_transitions.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 621.9422817230225,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.18177390098571777
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,621",
|
|
"created": 1608512031.621716,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "priorisation",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 141,
|
|
"message": "Executing method work after 0.182s",
|
|
"module": "test_transitions",
|
|
"msecs": 621.7160224914551,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_transitions.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 682.5666427612305,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_true'",
|
|
"'state_a'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,622",
|
|
"created": 1608512031.6225524,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_true'): 'state_a' -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 622.5523948669434,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 683.4030151367188,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 683.265209197998,
|
|
"msg": "Waiting for %.3fs or state change",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_transitions.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 744.1158294677734,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.06071281433105469
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,684",
|
|
"created": 1608512031.6844969,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "State after 1st cycle is correct (Content 'state_c' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"State after 1st cycle",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,684",
|
|
"created": 1608512031.6841075,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (State after 1st cycle): 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 684.1075420379639,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 744.9581623077393,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 1st cycle",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,684",
|
|
"created": 1608512031.6843398,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after 1st cycle): result = 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 684.3397617340088,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 745.1903820037842,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 684.4968795776367,
|
|
"msg": "State after 1st cycle is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 745.3474998474121,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001571178436279297
|
|
}
|
|
],
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.2456223964691162,
|
|
"time_finished": "2020-12-21 01:53:51,684",
|
|
"time_start": "2020-12-21 01:53:51,438"
|
|
},
|
|
"_GeMSYHczEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:51,945",
|
|
"created": 1608512031.9451919,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 40,
|
|
"message": "_GeMSYHczEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 945.1918601989746,
|
|
"msg": "_GeMSYHczEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1006.04248046875,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:52,696",
|
|
"created": 1608512032.69677,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_previous_state_duration",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 76,
|
|
"message": "Running state machine test sequence.",
|
|
"module": "test_interface",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,945",
|
|
"created": 1608512031.9453187,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 945.3186988830566,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1006.169319152832,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,945",
|
|
"created": 1608512031.945472,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 945.472002029419,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1006.3226222991943,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.75
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,945",
|
|
"created": 1608512031.9455726,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_previous_state_duration",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 73,
|
|
"message": "Waiting for 0.75s",
|
|
"module": "test_interface",
|
|
"msecs": 945.5726146697998,
|
|
"msg": "Waiting for %.2fs",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_interface.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1006.4232349395752,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,696",
|
|
"created": 1608512032.6965957,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_b' -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 696.5956687927246,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1757.4462890625,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 696.7699527740479,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_interface.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1757.6205730438232,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001742839813232422
|
|
},
|
|
{
|
|
"args": [
|
|
"0.7511894702911377",
|
|
"0.7",
|
|
"0.8",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,697",
|
|
"created": 1608512032.6973927,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 218,
|
|
"message": "Return Value of previous_state_duration() is correct (Content 0.7511894702911377 in [0.7 ... 0.8] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return Value of previous_state_duration()",
|
|
"0.7511894702911377",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,697",
|
|
"created": 1608512032.6970463,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Return Value of previous_state_duration()): 0.7511894702911377 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 697.0462799072266,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1757.896900177002,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value of previous_state_duration()",
|
|
"0.7",
|
|
"0.8"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,697",
|
|
"created": 1608512032.697198,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 30,
|
|
"message": "Expectation (Return Value of previous_state_duration()): 0.7 <= result <= 0.8",
|
|
"module": "test",
|
|
"msecs": 697.1979141235352,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1758.0485343933105,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 697.3927021026611,
|
|
"msg": "Return Value of previous_state_duration() is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1758.2433223724365,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00019478797912597656
|
|
}
|
|
],
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.7522008419036865,
|
|
"time_finished": "2020-12-21 01:53:52,697",
|
|
"time_start": "2020-12-21 01:53:51,945"
|
|
},
|
|
"_P7R34HczEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:51,056",
|
|
"created": 1608512031.0568743,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 28,
|
|
"message": "_P7R34HczEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 56.87427520751953,
|
|
"msg": "_P7R34HczEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 117.72489547729492,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:51,057",
|
|
"created": 1608512031.057048,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "transitions",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 44,
|
|
"message": "Initialising state machine with state_a",
|
|
"module": "test_transitions",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,056",
|
|
"created": 1608512031.056977,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 56.977033615112305,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 117.8276538848877,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 57.04808235168457,
|
|
"msg": "Initialising state machine with state_a",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_transitions.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 117.89870262145996,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 7.104873657226562e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,057",
|
|
"created": 1608512031.057202,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Initial state after Initialisation is correct (Content 'state_a' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,057",
|
|
"created": 1608512031.0571146,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Initial state after Initialisation): 'state_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 57.114601135253906,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 117.9652214050293,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,057",
|
|
"created": 1608512031.0571604,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Initial state after Initialisation): result = 'state_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 57.160377502441406,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 118.0109977722168,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 57.20210075378418,
|
|
"msg": "Initial state after Initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 118.05272102355957,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.172325134277344e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:51,057",
|
|
"created": 1608512031.0573292,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "transitions",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 47,
|
|
"message": "Work routine executed the 1st time to do the state change. Defined Transitions are: True->state_b (0.0s); False->state_c (0.0s)",
|
|
"module": "test_transitions",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_true'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,057",
|
|
"created": 1608512031.0572755,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_true'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 57.27553367614746,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 118.12615394592285,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 57.32917785644531,
|
|
"msg": "Work routine executed the 1st time to do the state change. Defined Transitions are: True->state_b (0.0s); False->state_c (0.0s)",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_transitions.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 118.1797981262207,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.364418029785156e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,057",
|
|
"created": 1608512031.0574708,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "State after 1st execution of work method is correct (Content 'state_b' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"State after 1st execution of work method",
|
|
"'state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,057",
|
|
"created": 1608512031.0573895,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (State after 1st execution of work method): 'state_b' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 57.38949775695801,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 118.2401180267334,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 1st execution of work method",
|
|
"'state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,057",
|
|
"created": 1608512031.05743,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after 1st execution of work method): result = 'state_b' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 57.43002891540527,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 118.28064918518066,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 57.47079849243164,
|
|
"msg": "State after 1st execution of work method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 118.32141876220703,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.076957702636719e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:51,057",
|
|
"created": 1608512031.057577,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "transitions",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 50,
|
|
"message": "Work routine executed the 2nd time to do the state change. Defined Transitions are: False->state_a (0.0s); True->state_c (0.0s)",
|
|
"module": "test_transitions",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_true'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,057",
|
|
"created": 1608512031.0575354,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_true'): 'state_b' -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 57.535409927368164,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 118.38603019714355,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 57.576894760131836,
|
|
"msg": "Work routine executed the 2nd time to do the state change. Defined Transitions are: False->state_a (0.0s); True->state_c (0.0s)",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_transitions.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 118.42751502990723,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.1484832763671875e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,057",
|
|
"created": 1608512031.0577075,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "State after 2nd execution of work method is correct (Content 'state_c' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"State after 2nd execution of work method",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,057",
|
|
"created": 1608512031.0576346,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (State after 2nd execution of work method): 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 57.634592056274414,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 118.4852123260498,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 2nd execution of work method",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,057",
|
|
"created": 1608512031.0576713,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after 2nd execution of work method): result = 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 57.671308517456055,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 118.52192878723145,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 57.70754814147949,
|
|
"msg": "State after 2nd execution of work method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 118.55816841125488,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.62396240234375e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:51,057",
|
|
"created": 1608512031.0577626,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "transitions",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 53,
|
|
"message": "Work routine executed the 3rd time with no effect. No Transitions starting from state_c (dead end)",
|
|
"module": "test_transitions",
|
|
"moduleLogger": [],
|
|
"msecs": 57.76262283325195,
|
|
"msg": "Work routine executed the 3rd time with no effect. No Transitions starting from state_c (dead end)",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_transitions.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 118.61324310302734,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,057",
|
|
"created": 1608512031.0579002,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "State after 3rd execution of work method is correct (Content 'state_c' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"State after 3rd execution of work method",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,057",
|
|
"created": 1608512031.0578163,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (State after 3rd execution of work method): 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 57.816267013549805,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 118.6668872833252,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 3rd execution of work method",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,057",
|
|
"created": 1608512031.0578616,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after 3rd execution of work method): result = 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 57.8615665435791,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 118.71218681335449,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 57.900190353393555,
|
|
"msg": "State after 3rd execution of work method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 118.75081062316895,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.8623809814453125e-05
|
|
}
|
|
],
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0010259151458740234,
|
|
"time_finished": "2020-12-21 01:53:51,057",
|
|
"time_start": "2020-12-21 01:53:51,056"
|
|
},
|
|
"_QofFgK-aEeqZm7ouFR1drQ": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:52,718",
|
|
"created": 1608512032.718942,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 47,
|
|
"message": "_QofFgK-aEeqZm7ouFR1drQ",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 718.9419269561768,
|
|
"msg": "_QofFgK-aEeqZm7ouFR1drQ",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1779.7925472259521,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:52,721",
|
|
"created": 1608512032.7211,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 166,
|
|
"message": "Callback execution order: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,719",
|
|
"created": 1608512032.719121,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 719.120979309082,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1779.9715995788574,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,719",
|
|
"created": 1608512032.7193987,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 719.3987369537354,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1780.2493572235107,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,719",
|
|
"created": 1608512032.7194972,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - unittest.test.report_value",
|
|
"module": "__init__",
|
|
"msecs": 719.4972038269043,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1780.3478240966797,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,719",
|
|
"created": 1608512032.7195804,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 2 - unittest.test.report_value",
|
|
"module": "__init__",
|
|
"msecs": 719.5804119110107,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1780.4310321807861,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,719",
|
|
"created": 1608512032.7196832,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_b' -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 719.6831703186035,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1780.533790588379,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,719",
|
|
"created": 1608512032.7198234,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - unittest.test.report_value",
|
|
"module": "__init__",
|
|
"msecs": 719.8233604431152,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1780.6739807128906,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,719",
|
|
"created": 1608512032.7199192,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 2 - unittest.test.report_value",
|
|
"module": "__init__",
|
|
"msecs": 719.9192047119141,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1780.7698249816895,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Callback execution order",
|
|
"[ 'specific callback for reaching state_b', 'nonspecific callback', 'specific callback for reaching state_a', 'nonspecific callback' ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,720",
|
|
"created": 1608512032.720028,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Callback execution order): [ 'specific callback for reaching state_b', 'nonspecific callback', 'specific callback for reaching state_a', 'nonspecific callback' ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 720.0279235839844,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1780.8785438537598,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Callback execution order",
|
|
"[ 'specific callback for reaching state_b', 'nonspecific callback', 'specific callback for reaching state_a', 'nonspecific callback' ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,720",
|
|
"created": 1608512032.720111,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Callback execution order): result = [ 'specific callback for reaching state_b', 'nonspecific callback', 'specific callback for reaching state_a', 'nonspecific callback' ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 720.1108932495117,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1780.961513519287,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"'specific callback for reaching state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,720",
|
|
"created": 1608512032.720204,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 1): 'specific callback for reaching state_b' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 720.2041149139404,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1781.0547351837158,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"'specific callback for reaching state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,720",
|
|
"created": 1608512032.7202766,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 'specific callback for reaching state_b' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 720.2765941619873,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1781.1272144317627,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'specific callback for reaching state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,720",
|
|
"created": 1608512032.7203987,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 1 is correct (Content 'specific callback for reaching state_b' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"msecs": 720.3986644744873,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1781.2492847442627,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,720",
|
|
"created": 1608512032.720483,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 2): 'nonspecific callback' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 720.4830646514893,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1781.3336849212646,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,720",
|
|
"created": 1608512032.7205637,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 'nonspecific callback' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 720.5636501312256,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1781.414270401001,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,720",
|
|
"created": 1608512032.7206402,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 2 is correct (Content 'nonspecific callback' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"msecs": 720.6401824951172,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1781.4908027648926,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"'specific callback for reaching state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,720",
|
|
"created": 1608512032.7207177,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 3): 'specific callback for reaching state_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 720.7176685333252,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1781.5682888031006,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"'specific callback for reaching state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,720",
|
|
"created": 1608512032.7207885,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 3): result = 'specific callback for reaching state_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 720.7884788513184,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1781.6390991210938,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'specific callback for reaching state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,720",
|
|
"created": 1608512032.7208436,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 3 is correct (Content 'specific callback for reaching state_a' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"msecs": 720.8435535430908,
|
|
"msg": "Submitted value number 3 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1781.6941738128662,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,720",
|
|
"created": 1608512032.7208972,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 4): 'nonspecific callback' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 720.8971977233887,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1781.747817993164,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,720",
|
|
"created": 1608512032.7209527,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 4): result = 'nonspecific callback' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 720.9527492523193,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1781.8033695220947,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,721",
|
|
"created": 1608512032.7210097,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 4 is correct (Content 'nonspecific callback' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"msecs": 721.0097312927246,
|
|
"msg": "Submitted value number 4 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1781.8603515625,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 721.1000919342041,
|
|
"msg": "Callback execution order: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1781.9507122039795,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 9.036064147949219e-05
|
|
}
|
|
],
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0021581649780273438,
|
|
"time_finished": "2020-12-21 01:53:52,721",
|
|
"time_start": "2020-12-21 01:53:52,718"
|
|
},
|
|
"_XzMFcHYZEem_kd-7nxt1sg": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:52,698",
|
|
"created": 1608512032.6982777,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 43,
|
|
"message": "_XzMFcHYZEem_kd-7nxt1sg",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 698.2777118682861,
|
|
"msg": "_XzMFcHYZEem_kd-7nxt1sg",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1759.1283321380615,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:52,702",
|
|
"created": 1608512032.7027586,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 58,
|
|
"message": "Running state machine sequence and storing sequence number for each callback",
|
|
"module": "test_callbacks",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,698",
|
|
"created": 1608512032.6987576,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 698.7576484680176,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1759.608268737793,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,699",
|
|
"created": 1608512032.6991384,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 1 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 699.1384029388428,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1759.9890232086182,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,700",
|
|
"created": 1608512032.7000618,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 700.0617980957031,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1760.9124183654785,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,700",
|
|
"created": 1608512032.700483,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 700.4830837249756,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1761.333703994751,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,700",
|
|
"created": 1608512032.700816,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 2 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 700.8159160614014,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1761.6665363311768,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,701",
|
|
"created": 1608512032.7013958,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 701.3957500457764,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1762.2463703155518,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,701",
|
|
"created": 1608512032.7015626,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 3 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 701.5626430511475,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1762.4132633209229,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,701",
|
|
"created": 1608512032.7017343,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 4 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 701.7343044281006,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1762.584924697876,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,701",
|
|
"created": 1608512032.7019296,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_b' -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 701.9295692443848,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1762.7801895141602,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,702",
|
|
"created": 1608512032.7020915,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 5 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 702.0914554595947,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1762.9420757293701,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,702",
|
|
"created": 1608512032.7022922,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 702.2922039031982,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1763.1428241729736,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,702",
|
|
"created": 1608512032.702445,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 6 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 702.4450302124023,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1763.2956504821777,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,702",
|
|
"created": 1608512032.702611,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_c'): 'state_b' -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 702.610969543457,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1763.4615898132324,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 702.7585506439209,
|
|
"msg": "Running state machine sequence and storing sequence number for each callback",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1763.6091709136963,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001475811004638672
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:52,703",
|
|
"created": 1608512032.703861,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 166,
|
|
"message": "Execution of state machine callback (1) (state_b, condition_a) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (state_b, condition_a) identified by a sequence number",
|
|
"[ 1 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,703",
|
|
"created": 1608512032.7030454,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Execution of state machine callback (1) (state_b, condition_a) identified by a sequence number): [ 1 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 703.0453681945801,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1763.8959884643555,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (state_b, condition_a) identified by a sequence number",
|
|
"[ 1 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,703",
|
|
"created": 1608512032.703237,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Execution of state machine callback (1) (state_b, condition_a) identified by a sequence number): result = [ 1 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 703.2370567321777,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1764.0876770019531,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,703",
|
|
"created": 1608512032.7034087,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 1): 1 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 703.4087181091309,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1764.2593383789062,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,703",
|
|
"created": 1608512032.703556,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 1 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 703.5560607910156,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1764.406681060791,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,703",
|
|
"created": 1608512032.70372,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 1 is correct (Content 1 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 703.7200927734375,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1764.570713043213,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 703.8609981536865,
|
|
"msg": "Execution of state machine callback (1) (state_b, condition_a) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1764.711618423462,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00014090538024902344
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:52,704",
|
|
"created": 1608512032.7049344,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 166,
|
|
"message": "Execution of state machine callback (2) (state_b, condition_a) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (state_b, condition_a) identified by a sequence number",
|
|
"[ 2 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,704",
|
|
"created": 1608512032.7040932,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Execution of state machine callback (2) (state_b, condition_a) identified by a sequence number): [ 2 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 704.0932178497314,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1764.9438381195068,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (state_b, condition_a) identified by a sequence number",
|
|
"[ 2 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,704",
|
|
"created": 1608512032.7042654,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Execution of state machine callback (2) (state_b, condition_a) identified by a sequence number): result = [ 2 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 704.2653560638428,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1765.1159763336182,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,704",
|
|
"created": 1608512032.7044547,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 1): 2 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 704.4546604156494,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1765.3052806854248,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,704",
|
|
"created": 1608512032.7046082,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 2 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 704.6082019805908,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1765.4588222503662,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,704",
|
|
"created": 1608512032.7047768,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 1 is correct (Content 2 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 704.7767639160156,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1765.627384185791,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 704.9343585968018,
|
|
"msg": "Execution of state machine callback (2) (state_b, condition_a) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1765.7849788665771,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001575946807861328
|
|
}
|
|
],
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.006656646728515625,
|
|
"time_finished": "2020-12-21 01:53:52,704",
|
|
"time_start": "2020-12-21 01:53:52,698"
|
|
},
|
|
"_YrdgQHbUEemIm_1APUisDQ": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:52,705",
|
|
"created": 1608512032.7057495,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 44,
|
|
"message": "_YrdgQHbUEemIm_1APUisDQ",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 705.74951171875,
|
|
"msg": "_YrdgQHbUEemIm_1APUisDQ",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1766.6001319885254,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:52,708",
|
|
"created": 1608512032.7082098,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 58,
|
|
"message": "Running state machine sequence and storing sequence number for each callback",
|
|
"module": "test_callbacks",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,705",
|
|
"created": 1608512032.7059622,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 705.9621810913086,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1766.812801361084,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,706",
|
|
"created": 1608512032.7061589,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 1 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 706.1588764190674,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1767.0094966888428,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,706",
|
|
"created": 1608512032.7063649,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 706.3648700714111,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1767.2154903411865,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,706",
|
|
"created": 1608512032.706496,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 2 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 706.496000289917,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1767.3466205596924,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,706",
|
|
"created": 1608512032.7066205,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_b' -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 706.620454788208,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1767.4710750579834,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,706",
|
|
"created": 1608512032.7067387,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 706.7387104034424,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1767.5893306732178,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,706",
|
|
"created": 1608512032.706858,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 3 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 706.8579196929932,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1767.7085399627686,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,706",
|
|
"created": 1608512032.7069528,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 706.9528102874756,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1767.803430557251,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,707",
|
|
"created": 1608512032.7070608,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 4 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 707.0608139038086,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1767.911434173584,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,707",
|
|
"created": 1608512032.7071888,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 5 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 707.1888446807861,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1768.0394649505615,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,707",
|
|
"created": 1608512032.7073383,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 707.3383331298828,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1768.1889533996582,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,707",
|
|
"created": 1608512032.707466,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 707.4658870697021,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1768.3165073394775,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,707",
|
|
"created": 1608512032.707566,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 6 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 707.5660228729248,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1768.4166431427002,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,707",
|
|
"created": 1608512032.7076662,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 707.6661586761475,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1768.5167789459229,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
7
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,707",
|
|
"created": 1608512032.7077615,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 7 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 707.7615261077881,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1768.6121463775635,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
8
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,707",
|
|
"created": 1608512032.707885,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 8 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 707.8850269317627,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1768.735647201538,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,708",
|
|
"created": 1608512032.7080464,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_c'): 'state_b' -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 708.0464363098145,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1768.8970565795898,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 708.209753036499,
|
|
"msg": "Running state machine sequence and storing sequence number for each callback",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1769.0603733062744,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001633167266845703
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:52,709",
|
|
"created": 1608512032.709814,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 166,
|
|
"message": "Execution of state machine callback (1) (all_transitions, condition_b) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (all_transitions, condition_b) identified by a sequence number",
|
|
"[ 2, 5 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,708",
|
|
"created": 1608512032.7086692,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Execution of state machine callback (1) (all_transitions, condition_b) identified by a sequence number): [ 2, 5 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 708.6691856384277,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1769.5198059082031,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (all_transitions, condition_b) identified by a sequence number",
|
|
"[ 2, 5 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,708",
|
|
"created": 1608512032.7088451,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Execution of state machine callback (1) (all_transitions, condition_b) identified by a sequence number): result = [ 2, 5 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 708.8451385498047,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1769.69575881958,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,709",
|
|
"created": 1608512032.7090054,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 1): 2 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 709.0053558349609,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1769.8559761047363,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,709",
|
|
"created": 1608512032.709153,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 2 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 709.1529369354248,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1770.0035572052002,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,709",
|
|
"created": 1608512032.7092955,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 1 is correct (Content 2 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 709.2955112457275,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1770.146131515503,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,709",
|
|
"created": 1608512032.7094362,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 2): 5 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 709.4361782073975,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1770.2867984771729,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,709",
|
|
"created": 1608512032.7095575,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 5 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 709.5575332641602,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1770.4081535339355,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,709",
|
|
"created": 1608512032.7096865,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 2 is correct (Content 5 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 709.6865177154541,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1770.5371379852295,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 709.8140716552734,
|
|
"msg": "Execution of state machine callback (1) (all_transitions, condition_b) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1770.6646919250488,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00012755393981933594
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:52,710",
|
|
"created": 1608512032.710906,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 166,
|
|
"message": "Execution of state machine callback (2) (all_transitions, condition_b) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (all_transitions, condition_b) identified by a sequence number",
|
|
"[ 3, 6 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,710",
|
|
"created": 1608512032.7100594,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Execution of state machine callback (2) (all_transitions, condition_b) identified by a sequence number): [ 3, 6 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 710.059404373169,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1770.9100246429443,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (all_transitions, condition_b) identified by a sequence number",
|
|
"[ 3, 6 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,710",
|
|
"created": 1608512032.7102275,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Execution of state machine callback (2) (all_transitions, condition_b) identified by a sequence number): result = [ 3, 6 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 710.2274894714355,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1771.078109741211,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"3",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,710",
|
|
"created": 1608512032.710328,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 1): 3 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 710.3281021118164,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1771.1787223815918,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"3",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,710",
|
|
"created": 1608512032.71044,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 3 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 710.439920425415,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1771.2905406951904,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"3",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,710",
|
|
"created": 1608512032.7105489,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 1 is correct (Content 3 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 710.5488777160645,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1771.3994979858398,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,710",
|
|
"created": 1608512032.7106469,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 2): 6 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 710.6468677520752,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1771.4974880218506,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,710",
|
|
"created": 1608512032.7107282,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 6 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 710.7281684875488,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1771.5787887573242,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,710",
|
|
"created": 1608512032.7108042,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 2 is correct (Content 6 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 710.8042240142822,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1771.6548442840576,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 710.9060287475586,
|
|
"msg": "Execution of state machine callback (2) (all_transitions, condition_b) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1771.756649017334,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00010180473327636719
|
|
}
|
|
],
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.005156517028808594,
|
|
"time_finished": "2020-12-21 01:53:52,710",
|
|
"time_start": "2020-12-21 01:53:52,705"
|
|
},
|
|
"_bDqbMHcrEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:51,055",
|
|
"created": 1608512031.055161,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 24,
|
|
"message": "_bDqbMHcrEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 55.1609992980957,
|
|
"msg": "_bDqbMHcrEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 116.0116195678711,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:51,055",
|
|
"created": 1608512031.0553377,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_init.py",
|
|
"funcName": "test_init_last_state",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Initialising the state machine with state_c",
|
|
"module": "test_init",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,055",
|
|
"created": 1608512031.0552661,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 55.26614189147949,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 116.11676216125488,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 55.33766746520996,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_init.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 116.18828773498535,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 7.152557373046875e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,055",
|
|
"created": 1608512031.055556,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Last state after initialisation is correct (Content None and Type is <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Last state after initialisation",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,055",
|
|
"created": 1608512031.055435,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Last state after initialisation): None (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 55.4349422454834,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 116.28556251525879,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Last state after initialisation",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,055",
|
|
"created": 1608512031.055497,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Last state after initialisation): result = None (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 55.496931076049805,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 116.3475513458252,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 55.55605888366699,
|
|
"msg": "Last state after initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 116.40667915344238,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.91278076171875e-05
|
|
}
|
|
],
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00039505958557128906,
|
|
"time_finished": "2020-12-21 01:53:51,055",
|
|
"time_start": "2020-12-21 01:53:51,055"
|
|
},
|
|
"_b_t78Hb4EemzkK7kGUMNfw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:52,711",
|
|
"created": 1608512032.711393,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 45,
|
|
"message": "_b_t78Hb4EemzkK7kGUMNfw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 711.3931179046631,
|
|
"msg": "_b_t78Hb4EemzkK7kGUMNfw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1772.2437381744385,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:52,713",
|
|
"created": 1608512032.7137148,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 58,
|
|
"message": "Running state machine sequence and storing sequence number for each callback",
|
|
"module": "test_callbacks",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,711",
|
|
"created": 1608512032.7117045,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 711.7044925689697,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1772.5551128387451,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,711",
|
|
"created": 1608512032.7119756,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 1 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 711.9755744934082,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1772.8261947631836,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,712",
|
|
"created": 1608512032.7121716,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 712.1715545654297,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1773.022174835205,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,712",
|
|
"created": 1608512032.7122927,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 712.2926712036133,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1773.1432914733887,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,712",
|
|
"created": 1608512032.712479,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 2 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 712.4791145324707,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1773.329734802246,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,712",
|
|
"created": 1608512032.7126303,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 712.6302719116211,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1773.4808921813965,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,712",
|
|
"created": 1608512032.7127244,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 3 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 712.7244472503662,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1773.5750675201416,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,712",
|
|
"created": 1608512032.712818,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 4 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 712.817907333374,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1773.6685276031494,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,712",
|
|
"created": 1608512032.712939,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_b' -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 712.9390239715576,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1773.789644241333,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,713",
|
|
"created": 1608512032.7130446,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 5 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 713.0446434020996,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1773.895263671875,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,713",
|
|
"created": 1608512032.7131522,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 713.1521701812744,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1774.0027904510498,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,713",
|
|
"created": 1608512032.713246,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 713.2461071014404,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1774.0967273712158,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,713",
|
|
"created": 1608512032.7133312,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 6 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 713.3312225341797,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1774.181842803955,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,713",
|
|
"created": 1608512032.7134168,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 713.4168148040771,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1774.2674350738525,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
7
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,713",
|
|
"created": 1608512032.7134914,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 7 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 713.4914398193359,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1774.3420600891113,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
8
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,713",
|
|
"created": 1608512032.7136185,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 8 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 713.6185169219971,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1774.4691371917725,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,713",
|
|
"created": 1608512032.7136679,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_c'): 'state_b' -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 713.6678695678711,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1774.5184898376465,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 713.7148380279541,
|
|
"msg": "Running state machine sequence and storing sequence number for each callback",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1774.5654582977295,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.696846008300781e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:52,714",
|
|
"created": 1608512032.7141287,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 166,
|
|
"message": "Execution of state machine callback (1) (state_b, all_conditions) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (state_b, all_conditions) identified by a sequence number",
|
|
"[ 1, 5 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,713",
|
|
"created": 1608512032.7138004,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Execution of state machine callback (1) (state_b, all_conditions) identified by a sequence number): [ 1, 5 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 713.8004302978516,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1774.651050567627,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (state_b, all_conditions) identified by a sequence number",
|
|
"[ 1, 5 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,713",
|
|
"created": 1608512032.7138417,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Execution of state machine callback (1) (state_b, all_conditions) identified by a sequence number): result = [ 1, 5 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 713.8416767120361,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1774.6922969818115,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,713",
|
|
"created": 1608512032.7138848,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 1): 1 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 713.8848304748535,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1774.735450744629,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,713",
|
|
"created": 1608512032.7139251,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 1 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 713.9251232147217,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1774.775743484497,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,713",
|
|
"created": 1608512032.7139635,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 1 is correct (Content 1 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 713.963508605957,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1774.8141288757324,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,714",
|
|
"created": 1608512032.714003,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 2): 5 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 714.0030860900879,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1774.8537063598633,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,714",
|
|
"created": 1608512032.7140405,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 5 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 714.0405178070068,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1774.8911380767822,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,714",
|
|
"created": 1608512032.7140806,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 2 is correct (Content 5 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 714.0805721282959,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1774.9311923980713,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 714.1287326812744,
|
|
"msg": "Execution of state machine callback (1) (state_b, all_conditions) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1774.9793529510498,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.8160552978515625e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:52,714",
|
|
"created": 1608512032.7146935,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 166,
|
|
"message": "Execution of state machine callback (2) (state_b, all_conditions) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (state_b, all_conditions) identified by a sequence number",
|
|
"[ 2, 6 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,714",
|
|
"created": 1608512032.714208,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Execution of state machine callback (2) (state_b, all_conditions) identified by a sequence number): [ 2, 6 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 714.2078876495361,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1775.0585079193115,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (state_b, all_conditions) identified by a sequence number",
|
|
"[ 2, 6 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,714",
|
|
"created": 1608512032.7142544,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Execution of state machine callback (2) (state_b, all_conditions) identified by a sequence number): result = [ 2, 6 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 714.2543792724609,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1775.1049995422363,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,714",
|
|
"created": 1608512032.7143025,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 1): 2 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 714.3025398254395,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1775.1531600952148,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,714",
|
|
"created": 1608512032.71435,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 2 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 714.3499851226807,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1775.200605392456,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,714",
|
|
"created": 1608512032.7144043,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 1 is correct (Content 2 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 714.4043445587158,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1775.2549648284912,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,714",
|
|
"created": 1608512032.7144954,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 2): 6 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 714.4954204559326,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1775.346040725708,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,714",
|
|
"created": 1608512032.7145605,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 6 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 714.5605087280273,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1775.4111289978027,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,714",
|
|
"created": 1608512032.7146406,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 2 is correct (Content 6 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 714.6406173706055,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1775.4912376403809,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 714.693546295166,
|
|
"msg": "Execution of state machine callback (2) (state_b, all_conditions) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1775.5441665649414,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.2928924560546875e-05
|
|
}
|
|
],
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0033004283905029297,
|
|
"time_finished": "2020-12-21 01:53:52,714",
|
|
"time_start": "2020-12-21 01:53:52,711"
|
|
},
|
|
"_e4QPUHb4EemzkK7kGUMNfw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:52,714",
|
|
"created": 1608512032.714849,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 46,
|
|
"message": "_e4QPUHb4EemzkK7kGUMNfw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 714.8489952087402,
|
|
"msg": "_e4QPUHb4EemzkK7kGUMNfw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1775.6996154785156,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:52,716",
|
|
"created": 1608512032.716109,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 58,
|
|
"message": "Running state machine sequence and storing sequence number for each callback",
|
|
"module": "test_callbacks",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,714",
|
|
"created": 1608512032.714935,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 714.9350643157959,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1775.7856845855713,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,715",
|
|
"created": 1608512032.715006,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 1 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 715.0061130523682,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1775.8567333221436,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,715",
|
|
"created": 1608512032.7150874,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 715.0874137878418,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1775.9380340576172,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,715",
|
|
"created": 1608512032.7151349,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 715.134859085083,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1775.9854793548584,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,715",
|
|
"created": 1608512032.7151816,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 2 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 715.1815891265869,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1776.0322093963623,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,715",
|
|
"created": 1608512032.7152216,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 715.221643447876,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1776.0722637176514,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,715",
|
|
"created": 1608512032.7152624,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 3 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 715.2624130249023,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1776.1130332946777,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,715",
|
|
"created": 1608512032.7153096,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 4 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 715.3096199035645,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1776.1602401733398,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,715",
|
|
"created": 1608512032.7153695,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_b' -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 715.369462966919,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1776.2200832366943,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,715",
|
|
"created": 1608512032.7154174,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 715.4173851013184,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1776.2680053710938,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,715",
|
|
"created": 1608512032.7154555,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 5 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 715.4555320739746,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1776.30615234375,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,715",
|
|
"created": 1608512032.7154968,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 715.4967784881592,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1776.3473987579346,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,715",
|
|
"created": 1608512032.7155328,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 6 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 715.5327796936035,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1776.383399963379,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
7
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,715",
|
|
"created": 1608512032.7155771,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 7 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 715.5771255493164,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1776.4277458190918,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,715",
|
|
"created": 1608512032.7156284,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 715.6283855438232,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1776.4790058135986,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,715",
|
|
"created": 1608512032.7156768,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 715.6767845153809,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1776.5274047851562,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
8
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,715",
|
|
"created": 1608512032.71572,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 8 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 715.7199382781982,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1776.5705585479736,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,715",
|
|
"created": 1608512032.7157595,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 715.7595157623291,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1776.6101360321045,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
9
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,715",
|
|
"created": 1608512032.7157996,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 9 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 715.7995700836182,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1776.6501903533936,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
10
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,715",
|
|
"created": 1608512032.7158425,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 10 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 715.8424854278564,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1776.6931056976318,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,715",
|
|
"created": 1608512032.7158957,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_c'): 'state_b' -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 715.8956527709961,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1776.7462730407715,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,715",
|
|
"created": 1608512032.7159452,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 715.9452438354492,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1776.7958641052246,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
11
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,715",
|
|
"created": 1608512032.7159843,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 11 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 715.9843444824219,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1776.8349647521973,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,716",
|
|
"created": 1608512032.716026,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 716.0260677337646,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1776.87668800354,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
12
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,716",
|
|
"created": 1608512032.7160652,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 12 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 716.0651683807373,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1776.9157886505127,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 716.109037399292,
|
|
"msg": "Running state machine sequence and storing sequence number for each callback",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_callbacks.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1776.9596576690674,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.38690185546875e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:52,717",
|
|
"created": 1608512032.7173414,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 166,
|
|
"message": "Execution of state machine callback (1) (all_transitions, all_conditions) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (all_transitions, all_conditions) identified by a sequence number",
|
|
"[ 1, 4, 7, 10 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,716",
|
|
"created": 1608512032.7162309,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Execution of state machine callback (1) (all_transitions, all_conditions) identified by a sequence number): [ 1, 4, 7, 10 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 716.2308692932129,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1777.0814895629883,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (all_transitions, all_conditions) identified by a sequence number",
|
|
"[ 1, 4, 7, 10 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,716",
|
|
"created": 1608512032.7162857,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Execution of state machine callback (1) (all_transitions, all_conditions) identified by a sequence number): result = [ 1, 4, 7, 10 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 716.2857055664062,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1777.1363258361816,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,716",
|
|
"created": 1608512032.716341,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 1): 1 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 716.3410186767578,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1777.1916389465332,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,716",
|
|
"created": 1608512032.7163835,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 1 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 716.3834571838379,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1777.2340774536133,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,716",
|
|
"created": 1608512032.7164273,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 1 is correct (Content 1 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 716.4273262023926,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1777.277946472168,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"4",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,716",
|
|
"created": 1608512032.7164757,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 2): 4 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 716.4757251739502,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1777.3263454437256,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"4",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,716",
|
|
"created": 1608512032.7165143,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 4 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 716.5143489837646,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1777.36496925354,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"4",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,716",
|
|
"created": 1608512032.7165673,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 2 is correct (Content 4 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 716.5672779083252,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1777.4178981781006,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"7",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,716",
|
|
"created": 1608512032.7166672,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 3): 7 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 716.6671752929688,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1777.5177955627441,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"7",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,716",
|
|
"created": 1608512032.716792,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 3): result = 7 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 716.792106628418,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1777.6427268981934,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"7",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,716",
|
|
"created": 1608512032.7169473,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 3 is correct (Content 7 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 716.9473171234131,
|
|
"msg": "Submitted value number 3 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1777.7979373931885,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"10",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,717",
|
|
"created": 1608512032.7170815,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 4): 10 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 717.0815467834473,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1777.9321670532227,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"10",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,717",
|
|
"created": 1608512032.7171667,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 4): result = 10 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 717.1666622161865,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1778.017282485962,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"10",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,717",
|
|
"created": 1608512032.7172468,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 4 is correct (Content 10 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 717.2467708587646,
|
|
"msg": "Submitted value number 4 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1778.09739112854,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 717.341423034668,
|
|
"msg": "Execution of state machine callback (1) (all_transitions, all_conditions) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1778.1920433044434,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 9.465217590332031e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:52,718",
|
|
"created": 1608512032.7186427,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 166,
|
|
"message": "Execution of state machine callback (2) (all_transitions, all_conditions) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (all_transitions, all_conditions) identified by a sequence number",
|
|
"[ 2, 5, 8, 11 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,717",
|
|
"created": 1608512032.717515,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Execution of state machine callback (2) (all_transitions, all_conditions) identified by a sequence number): [ 2, 5, 8, 11 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 717.5149917602539,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1778.3656120300293,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (all_transitions, all_conditions) identified by a sequence number",
|
|
"[ 2, 5, 8, 11 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,717",
|
|
"created": 1608512032.7176244,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Execution of state machine callback (2) (all_transitions, all_conditions) identified by a sequence number): result = [ 2, 5, 8, 11 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 717.6244258880615,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1778.475046157837,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,717",
|
|
"created": 1608512032.7177732,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 1): 2 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 717.7731990814209,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1778.6238193511963,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,717",
|
|
"created": 1608512032.71782,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 2 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 717.8199291229248,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1778.6705493927002,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,717",
|
|
"created": 1608512032.7178864,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 1 is correct (Content 2 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 717.8864479064941,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1778.7370681762695,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,717",
|
|
"created": 1608512032.7179585,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 2): 5 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 717.9584503173828,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1778.8090705871582,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,718",
|
|
"created": 1608512032.7180674,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 5 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 718.0674076080322,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1778.9180278778076,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,718",
|
|
"created": 1608512032.718191,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 2 is correct (Content 5 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 718.1909084320068,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1779.0415287017822,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"8",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,718",
|
|
"created": 1608512032.718261,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 3): 8 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 718.2610034942627,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1779.111623764038,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"8",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,718",
|
|
"created": 1608512032.7183142,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 3): result = 8 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 718.3141708374023,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1779.1647911071777,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"8",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,718",
|
|
"created": 1608512032.7183752,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 3 is correct (Content 8 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 718.3752059936523,
|
|
"msg": "Submitted value number 3 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1779.2258262634277,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"11",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,718",
|
|
"created": 1608512032.7184353,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 4): 11 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 718.4352874755859,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1779.2859077453613,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"11",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,718",
|
|
"created": 1608512032.718497,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 4): result = 11 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 718.4970378875732,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1779.3476581573486,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"11",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:52,718",
|
|
"created": 1608512032.7185647,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Submitted value number 4 is correct (Content 11 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 718.5647487640381,
|
|
"msg": "Submitted value number 4 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1779.4153690338135,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 718.6427116394043,
|
|
"msg": "Execution of state machine callback (2) (all_transitions, all_conditions) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1779.4933319091797,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 7.796287536621094e-05
|
|
}
|
|
],
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0037937164306640625,
|
|
"time_finished": "2020-12-21 01:53:52,718",
|
|
"time_start": "2020-12-21 01:53:52,714"
|
|
},
|
|
"_fE3tMHczEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:51,058",
|
|
"created": 1608512031.058054,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 29,
|
|
"message": "_fE3tMHczEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 58.05397033691406,
|
|
"msg": "_fE3tMHczEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 118.90459060668945,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:51,058",
|
|
"created": 1608512031.0582318,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "timing",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 84,
|
|
"message": "Initialising state machine with state_a",
|
|
"module": "test_transitions",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,058",
|
|
"created": 1608512031.058172,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 58.171987533569336,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 119.02260780334473,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 58.23183059692383,
|
|
"msg": "Initialising state machine with state_a",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_transitions.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 119.08245086669922,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.984306335449219e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,058",
|
|
"created": 1608512031.058368,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Initial state after Initialisation is correct (Content 'state_a' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,058",
|
|
"created": 1608512031.0582926,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Initial state after Initialisation): 'state_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 58.29262733459473,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 119.14324760437012,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,058",
|
|
"created": 1608512031.0583313,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Initial state after Initialisation): result = 'state_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 58.33125114440918,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 119.18187141418457,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 58.36796760559082,
|
|
"msg": "Initial state after Initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 119.21858787536621,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.6716461181640625e-05
|
|
},
|
|
{
|
|
"args": [
|
|
0.16
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,209",
|
|
"created": 1608512031.2091231,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "timing",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 92,
|
|
"message": "Waiting for 0.160s or state change",
|
|
"module": "test_transitions",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_true'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,208",
|
|
"created": 1608512031.2085733,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_true'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 208.5733413696289,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 269.4239616394043,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 209.1231346130371,
|
|
"msg": "Waiting for %.3fs or state change",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_transitions.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 269.9737548828125,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0005497932434082031
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,209",
|
|
"created": 1608512031.2099361,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "State after 1st cycle is correct (Content 'state_b' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"State after 1st cycle",
|
|
"'state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,209",
|
|
"created": 1608512031.209667,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (State after 1st cycle): 'state_b' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 209.66696739196777,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 270.51758766174316,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 1st cycle",
|
|
"'state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,209",
|
|
"created": 1608512031.2098043,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after 1st cycle): result = 'state_b' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 209.80429649353027,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 270.65491676330566,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 209.93614196777344,
|
|
"msg": "State after 1st cycle is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 270.7867622375488,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00013184547424316406
|
|
},
|
|
{
|
|
"args": [
|
|
"0.15067315101623535",
|
|
"0.145",
|
|
"0.155",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,210",
|
|
"created": 1608512031.2103198,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 218,
|
|
"message": "Transition time after 1st cycle is correct (Content 0.15067315101623535 in [0.145 ... 0.155] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Transition time after 1st cycle",
|
|
"0.15067315101623535",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,210",
|
|
"created": 1608512031.210168,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Transition time after 1st cycle): 0.15067315101623535 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 210.16788482666016,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 271.01850509643555,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Transition time after 1st cycle",
|
|
"0.145",
|
|
"0.155"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,210",
|
|
"created": 1608512031.2102523,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 30,
|
|
"message": "Expectation (Transition time after 1st cycle): 0.145 <= result <= 0.155",
|
|
"module": "test",
|
|
"msecs": 210.2522850036621,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 271.1029052734375,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 210.31975746154785,
|
|
"msg": "Transition time after 1st cycle is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 271.17037773132324,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.747245788574219e-05
|
|
},
|
|
{
|
|
"args": [
|
|
0.235
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,436",
|
|
"created": 1608512031.4363897,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "timing",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 109,
|
|
"message": "Waiting for 0.235s or state change",
|
|
"module": "test_transitions",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_true'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,435",
|
|
"created": 1608512031.435748,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_true'): 'state_b' -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 435.7481002807617,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 496.5987205505371,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 436.389684677124,
|
|
"msg": "Waiting for %.3fs or state change",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_transitions.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 497.2403049468994,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0006415843963623047
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,437",
|
|
"created": 1608512031.4372606,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "State after 2nd cycle is correct (Content 'state_c' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"State after 2nd cycle",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,436",
|
|
"created": 1608512031.4369087,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (State after 2nd cycle): 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 436.9087219238281,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 497.7593421936035,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 2nd cycle",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,437",
|
|
"created": 1608512031.4370809,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after 2nd cycle): result = 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 437.08086013793945,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 497.93148040771484,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 437.26062774658203,
|
|
"msg": "State after 2nd cycle is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 498.1112480163574,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017976760864257812
|
|
},
|
|
{
|
|
"args": [
|
|
"0.1506359577178955",
|
|
"0.145",
|
|
"0.155",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,437",
|
|
"created": 1608512031.4377685,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 218,
|
|
"message": "Transition time after 2nd cycle is correct (Content 0.1506359577178955 in [0.145 ... 0.155] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Transition time after 2nd cycle",
|
|
"0.1506359577178955",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,437",
|
|
"created": 1608512031.4375103,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Transition time after 2nd cycle): 0.1506359577178955 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 437.51025199890137,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 498.36087226867676,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Transition time after 2nd cycle",
|
|
"0.145",
|
|
"0.155"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,437",
|
|
"created": 1608512031.4376435,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 30,
|
|
"message": "Expectation (Transition time after 2nd cycle): 0.145 <= result <= 0.155",
|
|
"module": "test",
|
|
"msecs": 437.64352798461914,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 498.49414825439453,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 437.76845932006836,
|
|
"msg": "Transition time after 2nd cycle is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 498.61907958984375,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00012493133544921875
|
|
},
|
|
{
|
|
"args": [
|
|
"0.22591900825500488",
|
|
"0.21999999999999997",
|
|
"0.22999999999999998",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,438",
|
|
"created": 1608512031.4382086,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 218,
|
|
"message": "Previous state duration is correct (Content 0.22591900825500488 in [0.21999999999999997 ... 0.22999999999999998] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Previous state duration",
|
|
"0.22591900825500488",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,437",
|
|
"created": 1608512031.4379747,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Previous state duration): 0.22591900825500488 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 437.9746913909912,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 498.8253116607666,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Previous state duration",
|
|
"0.21999999999999997",
|
|
"0.22999999999999998"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,438",
|
|
"created": 1608512031.4380772,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 30,
|
|
"message": "Expectation (Previous state duration): 0.21999999999999997 <= result <= 0.22999999999999998",
|
|
"module": "test",
|
|
"msecs": 438.0772113800049,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 498.9278316497803,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 438.20858001708984,
|
|
"msg": "Previous state duration is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 499.05920028686523,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00013136863708496094
|
|
}
|
|
],
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.3801546096801758,
|
|
"time_finished": "2020-12-21 01:53:51,438",
|
|
"time_start": "2020-12-21 01:53:51,058"
|
|
},
|
|
"_iTFPQHcrEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:51,055",
|
|
"created": 1608512031.0557091,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 25,
|
|
"message": "_iTFPQHcrEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 55.709123611450195,
|
|
"msg": "_iTFPQHcrEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 116.55974388122559,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:51,055",
|
|
"created": 1608512031.0559049,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_init.py",
|
|
"funcName": "test_init_keyword_arguments",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 36,
|
|
"message": "Initialising the state machine with state_c",
|
|
"module": "test_init",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,055",
|
|
"created": 1608512031.0558228,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 55.82284927368164,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 116.67346954345703,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 55.90486526489258,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_init.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 116.75548553466797,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 8.20159912109375e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,056",
|
|
"created": 1608512031.056135,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Keyword argument kw_arg_no_1 stored in state_machine is correct (Content 1 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_1 stored in state_machine",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,056",
|
|
"created": 1608512031.056006,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Keyword argument kw_arg_no_1 stored in state_machine): 1 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 56.00595474243164,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 116.85657501220703,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_1 stored in state_machine",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,056",
|
|
"created": 1608512031.0560725,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Keyword argument kw_arg_no_1 stored in state_machine): result = 1 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 56.07247352600098,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 116.92309379577637,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 56.134939193725586,
|
|
"msg": "Keyword argument kw_arg_no_1 stored in state_machine is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 116.98555946350098,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.246566772460938e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'2'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,056",
|
|
"created": 1608512031.0563521,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Keyword argument kw_arg_no_2 stored in state_machine is correct (Content '2' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_2 stored in state_machine",
|
|
"'2'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,056",
|
|
"created": 1608512031.0562298,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Keyword argument kw_arg_no_2 stored in state_machine): '2' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 56.22982978820801,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 117.0804500579834,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_2 stored in state_machine",
|
|
"'2'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,056",
|
|
"created": 1608512031.0562935,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Keyword argument kw_arg_no_2 stored in state_machine): result = '2' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 56.293487548828125,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 117.14410781860352,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 56.35213851928711,
|
|
"msg": "Keyword argument kw_arg_no_2 stored in state_machine is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 117.2027587890625,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.8650970458984375e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,056",
|
|
"created": 1608512031.0565665,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Keyword argument kw_arg_no_3 stored in state_machine is correct (Content True and Type is <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_3 stored in state_machine",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,056",
|
|
"created": 1608512031.056449,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Keyword argument kw_arg_no_3 stored in state_machine): True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 56.448936462402344,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 117.29955673217773,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_3 stored in state_machine",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,056",
|
|
"created": 1608512031.056527,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Keyword argument kw_arg_no_3 stored in state_machine): result = True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 56.526899337768555,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 117.37751960754395,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 56.566476821899414,
|
|
"msg": "Keyword argument kw_arg_no_3 stored in state_machine is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 117.4170970916748,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.9577484130859375e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"{'1': 1, '2': 'two'}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,056",
|
|
"created": 1608512031.0567455,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Keyword argument kw_arg_no_4 stored in state_machine is correct (Content {'1': 1, '2': 'two'} and Type is <class 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_4 stored in state_machine",
|
|
"{ '1': 1, '2': 'two' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,056",
|
|
"created": 1608512031.056642,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Keyword argument kw_arg_no_4 stored in state_machine): { '1': 1, '2': 'two' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 56.64205551147461,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 117.49267578125,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_4 stored in state_machine",
|
|
"{ '1': 1, '2': 'two' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,056",
|
|
"created": 1608512031.0566897,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Keyword argument kw_arg_no_4 stored in state_machine): result = { '1': 1, '2': 'two' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 56.68973922729492,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 117.54035949707031,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 56.74552917480469,
|
|
"msg": "Keyword argument kw_arg_no_4 stored in state_machine is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 117.59614944458008,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.5789947509765625e-05
|
|
}
|
|
],
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0010364055633544922,
|
|
"time_finished": "2020-12-21 01:53:51,056",
|
|
"time_start": "2020-12-21 01:53:51,055"
|
|
},
|
|
"_j2FvkHcqEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:51,054",
|
|
"created": 1608512031.0546913,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 23,
|
|
"message": "_j2FvkHcqEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 54.691314697265625,
|
|
"msg": "_j2FvkHcqEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 115.54193496704102,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:51,054",
|
|
"created": 1608512031.0548084,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_init.py",
|
|
"funcName": "test_init_last_transition",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 18,
|
|
"message": "Initialising the state machine with state_c",
|
|
"module": "test_init",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,054",
|
|
"created": 1608512031.0547605,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 54.76045608520508,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 115.61107635498047,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 54.80837821960449,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_init.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 115.65899848937988,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.792213439941406e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'__init__'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,054",
|
|
"created": 1608512031.0549848,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Last transition condition after initialisation is correct (Content '__init__' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Last transition condition after initialisation",
|
|
"'__init__'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,054",
|
|
"created": 1608512031.0548687,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Last transition condition after initialisation): '__init__' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 54.86869812011719,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 115.71931838989258,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Last transition condition after initialisation",
|
|
"'__init__'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,054",
|
|
"created": 1608512031.0549173,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Last transition condition after initialisation): result = '__init__' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 54.917335510253906,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 115.7679557800293,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 54.98480796813965,
|
|
"msg": "Last transition condition after initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 115.83542823791504,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.747245788574219e-05
|
|
}
|
|
],
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00029349327087402344,
|
|
"time_finished": "2020-12-21 01:53:51,054",
|
|
"time_start": "2020-12-21 01:53:51,054"
|
|
},
|
|
"_tRZ50HcyEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:51,684",
|
|
"created": 1608512031.6849594,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 33,
|
|
"message": "_tRZ50HcyEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 684.9594116210938,
|
|
"msg": "_tRZ50HcyEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 745.8100318908691,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:51,685",
|
|
"created": 1608512031.6853127,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_this_state",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 16,
|
|
"message": "Initialising the state machine with state_c",
|
|
"module": "test_interface",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,685",
|
|
"created": 1608512031.6851861,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 685.1861476898193,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 746.0367679595947,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 685.3127479553223,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_interface.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 746.1633682250977,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001266002655029297
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,685",
|
|
"created": 1608512031.685636,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Returnvalue of this_state() is correct (Content 'state_c' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state()",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,685",
|
|
"created": 1608512031.6854615,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of this_state()): 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 685.4615211486816,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 746.312141418457,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state()",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,685",
|
|
"created": 1608512031.6855497,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of this_state()): result = 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 685.5497360229492,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 746.4003562927246,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 685.636043548584,
|
|
"msg": "Returnvalue of this_state() is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 746.4866638183594,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 8.630752563476562e-05
|
|
}
|
|
],
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0006766319274902344,
|
|
"time_finished": "2020-12-21 01:53:51,685",
|
|
"time_start": "2020-12-21 01:53:51,684"
|
|
},
|
|
"_vAtUQHcyEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:51,685",
|
|
"created": 1608512031.685886,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 34,
|
|
"message": "_vAtUQHcyEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 685.8859062194824,
|
|
"msg": "_vAtUQHcyEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 746.7365264892578,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:51,686",
|
|
"created": 1608512031.6862285,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_this_state_is",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Initialising the state machine with state_c",
|
|
"module": "test_interface",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,686",
|
|
"created": 1608512031.6860595,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 686.0594749450684,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 746.9100952148438,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 686.2285137176514,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_interface.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 747.0791339874268,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001690387725830078
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,686",
|
|
"created": 1608512031.6865332,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Returnvalue of this_state_is(state_c) is correct (Content True and Type is <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state_is(state_c)",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,686",
|
|
"created": 1608512031.6863658,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of this_state_is(state_c)): True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 686.3658428192139,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 747.2164630889893,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state_is(state_c)",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,686",
|
|
"created": 1608512031.686454,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of this_state_is(state_c)): result = True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 686.4540576934814,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 747.3046779632568,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 686.5332126617432,
|
|
"msg": "Returnvalue of this_state_is(state_c) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 747.3838329315186,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 7.915496826171875e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,686",
|
|
"created": 1608512031.6868072,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Returnvalue of this_state_is(state_b) is correct (Content False and Type is <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state_is(state_b)",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,686",
|
|
"created": 1608512031.686652,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of this_state_is(state_b)): False (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 686.6519451141357,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 747.5025653839111,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state_is(state_b)",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,686",
|
|
"created": 1608512031.6867304,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of this_state_is(state_b)): result = False (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 686.7303848266602,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 747.5810050964355,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 686.8071556091309,
|
|
"msg": "Returnvalue of this_state_is(state_b) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 747.6577758789062,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 7.677078247070312e-05
|
|
}
|
|
],
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0009212493896484375,
|
|
"time_finished": "2020-12-21 01:53:51,686",
|
|
"time_start": "2020-12-21 01:53:51,685"
|
|
},
|
|
"_w49d4HcHEem_Z9BBpwIuJw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:51,053",
|
|
"created": 1608512031.0537493,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 22,
|
|
"message": "_w49d4HcHEem_Z9BBpwIuJw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 53.74932289123535,
|
|
"msg": "_w49d4HcHEem_Z9BBpwIuJw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 114.59994316101074,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:51,054",
|
|
"created": 1608512031.0543003,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_init.py",
|
|
"funcName": "test_init_state",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 12,
|
|
"message": "Initialising the state machine with state_c",
|
|
"module": "test_init",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,054",
|
|
"created": 1608512031.05418,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 54.17990684509277,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 115.03052711486816,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 54.30030822753906,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_init.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 115.15092849731445,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00012040138244628906
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,054",
|
|
"created": 1608512031.0545802,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "State after initialisation is correct (Content 'state_c' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"State after initialisation",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,054",
|
|
"created": 1608512031.0544302,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (State after initialisation): 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 54.430246353149414,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 115.2808666229248,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after initialisation",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,054",
|
|
"created": 1608512031.0545092,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after initialisation): result = 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 54.50916290283203,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 115.35978317260742,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 54.5802116394043,
|
|
"msg": "State after initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 115.43083190917969,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 7.104873657226562e-05
|
|
}
|
|
],
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0008308887481689453,
|
|
"time_finished": "2020-12-21 01:53:51,054",
|
|
"time_start": "2020-12-21 01:53:51,053"
|
|
},
|
|
"_yVA9oHcyEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 01:53:51,687",
|
|
"created": 1608512031.6870306,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 35,
|
|
"message": "_yVA9oHcyEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 687.030553817749,
|
|
"msg": "_yVA9oHcyEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 747.8811740875244,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 01:53:51,938",
|
|
"created": 1608512031.938028,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_this_state_duration",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 34,
|
|
"message": "Running state machine test sequence.",
|
|
"module": "test_interface",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,687",
|
|
"created": 1608512031.6871781,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 687.1781349182129,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 748.0287551879883,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,687",
|
|
"created": 1608512031.6873386,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 687.3385906219482,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "src/state_machine/__init__.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 748.1892108917236,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.25
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,937",
|
|
"created": 1608512031.937793,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_this_state_duration",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 33,
|
|
"message": "Waiting for 0.25s",
|
|
"module": "test_interface",
|
|
"msecs": 937.7930164337158,
|
|
"msg": "Waiting for %.2fs",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_interface.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 998.6436367034912,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 938.02809715271,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_interface.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 998.8787174224854,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00023508071899414062
|
|
},
|
|
{
|
|
"args": [
|
|
"0.2508413791656494",
|
|
"0.2",
|
|
"0.3",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,938",
|
|
"created": 1608512031.9385417,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 218,
|
|
"message": "Return Value of this_state_duration() is correct (Content 0.2508413791656494 in [0.2 ... 0.3] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return Value of this_state_duration()",
|
|
"0.2508413791656494",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,938",
|
|
"created": 1608512031.9383023,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Return Value of this_state_duration()): 0.2508413791656494 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 938.3022785186768,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 999.1528987884521,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value of this_state_duration()",
|
|
"0.2",
|
|
"0.3"
|
|
],
|
|
"asctime": "2020-12-21 01:53:51,938",
|
|
"created": 1608512031.9384344,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 30,
|
|
"message": "Expectation (Return Value of this_state_duration()): 0.2 <= result <= 0.3",
|
|
"module": "test",
|
|
"msecs": 938.434362411499,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 999.2849826812744,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 938.5416507720947,
|
|
"msg": "Return Value of this_state_duration() is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 99610,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 999.3922710418701,
|
|
"stack_info": null,
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00010728836059570312
|
|
}
|
|
],
|
|
"thread": 140688934180672,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.2515110969543457,
|
|
"time_finished": "2020-12-21 01:53:51,938",
|
|
"time_start": "2020-12-21 01:53:51,687"
|
|
}
|
|
},
|
|
"testrun_id": "p3",
|
|
"time_consumption": 1.6608216762542725,
|
|
"uid_list_sorted": [
|
|
"_w49d4HcHEem_Z9BBpwIuJw",
|
|
"_j2FvkHcqEemrUqotql_Blw",
|
|
"_bDqbMHcrEemrUqotql_Blw",
|
|
"_iTFPQHcrEemrUqotql_Blw",
|
|
"_P7R34HczEemrUqotql_Blw",
|
|
"_fE3tMHczEemrUqotql_Blw",
|
|
"_C0Vi0HgPEemBsuKWG645TA",
|
|
"_tRZ50HcyEemrUqotql_Blw",
|
|
"_vAtUQHcyEemrUqotql_Blw",
|
|
"_yVA9oHcyEemrUqotql_Blw",
|
|
"_1WGwEHcyEemrUqotql_Blw",
|
|
"_7Mq60HcyEemrUqotql_Blw",
|
|
"_-kytMHcyEemrUqotql_Blw",
|
|
"_AcYg8HczEemrUqotql_Blw",
|
|
"_GeMSYHczEemrUqotql_Blw",
|
|
"_XzMFcHYZEem_kd-7nxt1sg",
|
|
"_YrdgQHbUEemIm_1APUisDQ",
|
|
"_b_t78Hb4EemzkK7kGUMNfw",
|
|
"_e4QPUHb4EemzkK7kGUMNfw",
|
|
"_QofFgK-aEeqZm7ouFR1drQ"
|
|
]
|
|
}
|
|
],
|
|
"unittest_information": {
|
|
"Version": "88eb21720b062b30078e96dd6204ccdd"
|
|
}
|
|
} |