19580 行
1.1 MiB
19580 行
1.1 MiB
{
|
|
"coverage_information": [
|
|
{
|
|
"branch_coverage": 100.0,
|
|
"filepath": "/usr/data/dirk/prj/unittest/state_machine/pylibs/state_machine",
|
|
"files": [
|
|
{
|
|
"branch_coverage": 100.0,
|
|
"filepath": "/usr/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.1 ulyssa",
|
|
"Hostname": "erle",
|
|
"Kernel": "5.8.0-44-generic (#50~20.04.1-Ubuntu SMP Wed Feb 10 21:07:30 UTC 2021)",
|
|
"Machine": "x86_64",
|
|
"Path": "/usr/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": "f0888b702a36dcafbc48cab5d887f4dd"
|
|
},
|
|
"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": "2021-02-28 18:52:08,607",
|
|
"created": 1614534728.607481,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 38,
|
|
"message": "_-kytMHcyEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 607.4810028076172,
|
|
"msg": "_-kytMHcyEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 932.5439929962158,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:08,608",
|
|
"created": 1614534728.608355,
|
|
"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": "2021-02-28 18:52:08,607",
|
|
"created": 1614534728.607822,
|
|
"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": 607.8219413757324,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 932.884931564331,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,608",
|
|
"created": 1614534728.608138,
|
|
"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": 608.1380844116211,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 933.2010746002197,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 608.3550453186035,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 933.4180355072021,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00021696090698242188
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,609",
|
|
"created": 1614534728.609034,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:08,608",
|
|
"created": 1614534728.608658,
|
|
"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": 608.6580753326416,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 933.7210655212402,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state()",
|
|
"'state_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,608",
|
|
"created": 1614534728.608856,
|
|
"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": 608.8559627532959,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 933.9189529418945,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 609.0340614318848,
|
|
"msg": "Returnvalue of previous_state() is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 934.0970516204834,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001780986785888672
|
|
}
|
|
],
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0015530586242675781,
|
|
"time_finished": "2021-02-28 18:52:08,609",
|
|
"time_start": "2021-02-28 18:52:08,607"
|
|
},
|
|
"_1WGwEHcyEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:08,601",
|
|
"created": 1614534728.601755,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 36,
|
|
"message": "_1WGwEHcyEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 601.754903793335,
|
|
"msg": "_1WGwEHcyEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 926.8178939819336,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:08,602",
|
|
"created": 1614534728.602862,
|
|
"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": "2021-02-28 18:52:08,602",
|
|
"created": 1614534728.60218,
|
|
"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": 602.180004119873,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 927.2429943084717,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,602",
|
|
"created": 1614534728.602583,
|
|
"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": 602.5829315185547,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 927.6459217071533,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 602.8618812561035,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 927.9248714447021,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002789497375488281
|
|
},
|
|
{
|
|
"args": [
|
|
"'condition_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,603",
|
|
"created": 1614534728.603648,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:08,603",
|
|
"created": 1614534728.603222,
|
|
"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": 603.2218933105469,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 928.2848834991455,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition()",
|
|
"'condition_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,603",
|
|
"created": 1614534728.60344,
|
|
"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": 603.4400463104248,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 928.5030364990234,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 603.6479473114014,
|
|
"msg": "Returnvalue of last_transition_condition() is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 928.7109375,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002079010009765625
|
|
}
|
|
],
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0018930435180664062,
|
|
"time_finished": "2021-02-28 18:52:08,603",
|
|
"time_start": "2021-02-28 18:52:08,601"
|
|
},
|
|
"_7Mq60HcyEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:08,604",
|
|
"created": 1614534728.604267,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 37,
|
|
"message": "_7Mq60HcyEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 604.266881942749,
|
|
"msg": "_7Mq60HcyEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 929.3298721313477,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:08,605",
|
|
"created": 1614534728.605288,
|
|
"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": "2021-02-28 18:52:08,604",
|
|
"created": 1614534728.604646,
|
|
"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": 604.6459674835205,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 929.7089576721191,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,605",
|
|
"created": 1614534728.605034,
|
|
"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": 605.0341129302979,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 930.0971031188965,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 605.288028717041,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 930.3510189056396,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00025391578674316406
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,606",
|
|
"created": 1614534728.606094,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:08,605",
|
|
"created": 1614534728.60564,
|
|
"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": 605.6399345397949,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 930.7029247283936,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition(condition_a)",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,605",
|
|
"created": 1614534728.605887,
|
|
"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": 605.8869361877441,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 930.9499263763428,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 606.0938835144043,
|
|
"msg": "Returnvalue of last_transition_condition(condition_a) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 931.1568737030029,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00020694732666015625
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,606",
|
|
"created": 1614534728.60683,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:08,606",
|
|
"created": 1614534728.606427,
|
|
"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": 606.4269542694092,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 931.4899444580078,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition(condition_c)",
|
|
"False",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,606",
|
|
"created": 1614534728.606632,
|
|
"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": 606.6319942474365,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 931.6949844360352,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 606.8298816680908,
|
|
"msg": "Returnvalue of last_transition_condition(condition_c) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 931.8928718566895,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00019788742065429688
|
|
}
|
|
],
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.002562999725341797,
|
|
"time_finished": "2021-02-28 18:52:08,606",
|
|
"time_start": "2021-02-28 18:52:08,604"
|
|
},
|
|
"_AcYg8HczEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:08,609",
|
|
"created": 1614534728.609563,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 39,
|
|
"message": "_AcYg8HczEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 609.5631122589111,
|
|
"msg": "_AcYg8HczEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 934.6261024475098,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:08,611",
|
|
"created": 1614534728.611173,
|
|
"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": "2021-02-28 18:52:08,610",
|
|
"created": 1614534728.610558,
|
|
"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": 610.558032989502,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 935.6210231781006,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,610",
|
|
"created": 1614534728.610916,
|
|
"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": 610.9158992767334,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 935.978889465332,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 611.1729145050049,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 936.2359046936035,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002570152282714844
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,611",
|
|
"created": 1614534728.6119,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:08,611",
|
|
"created": 1614534728.611512,
|
|
"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": 611.5119457244873,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 936.5749359130859,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state_was(state_a)",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,611",
|
|
"created": 1614534728.611711,
|
|
"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": 611.7110252380371,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 936.7740154266357,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 611.9000911712646,
|
|
"msg": "Returnvalue of previous_state_was(state_a) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 936.9630813598633,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00018906593322753906
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,612",
|
|
"created": 1614534728.612563,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:08,612",
|
|
"created": 1614534728.612205,
|
|
"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": 612.2050285339355,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 937.2680187225342,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state_was(state_b)",
|
|
"False",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,612",
|
|
"created": 1614534728.612386,
|
|
"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": 612.3859882354736,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 937.4489784240723,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 612.562894821167,
|
|
"msg": "Returnvalue of previous_state_was(state_b) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 937.6258850097656,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017690658569335938
|
|
}
|
|
],
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0029997825622558594,
|
|
"time_finished": "2021-02-28 18:52:08,612",
|
|
"time_start": "2021-02-28 18:52:08,609"
|
|
},
|
|
"_C0Vi0HgPEemBsuKWG645TA": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:08,095",
|
|
"created": 1614534728.095979,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 30,
|
|
"message": "_C0Vi0HgPEemBsuKWG645TA",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 95.97897529602051,
|
|
"msg": "_C0Vi0HgPEemBsuKWG645TA",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 421.04196548461914,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
0.151,
|
|
0.15
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,096",
|
|
"created": 1614534728.096619,
|
|
"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": "2021-02-28 18:52:08,096",
|
|
"created": 1614534728.096386,
|
|
"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": 96.38595581054688,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 421.4489459991455,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 96.6188907623291,
|
|
"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": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 421.68188095092773,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00023293495178222656
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,097",
|
|
"created": 1614534728.097238,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:08,096",
|
|
"created": 1614534728.096899,
|
|
"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": 96.89903259277344,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 421.96202278137207,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"'state_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,097",
|
|
"created": 1614534728.097066,
|
|
"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": 97.06592559814453,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 422.12891578674316,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 97.23806381225586,
|
|
"msg": "Initial state after Initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 422.3010540008545,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017213821411132812
|
|
},
|
|
{
|
|
"args": [
|
|
0.3
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,341",
|
|
"created": 1614534728.341207,
|
|
"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": [
|
|
1.1920928955078125e-05
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,097",
|
|
"created": 1614534728.097487,
|
|
"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": 97.48697280883789,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 422.5499629974365,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.060450077056884766
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,157",
|
|
"created": 1614534728.157975,
|
|
"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": 157.9749584197998,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 483.03794860839844,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.12131810188293457
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,218",
|
|
"created": 1614534728.218856,
|
|
"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": 218.8560962677002,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 543.9190864562988,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.18225502967834473
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,279",
|
|
"created": 1614534728.279799,
|
|
"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": 279.7989845275879,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 604.8619747161865,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_true'",
|
|
"'state_a'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,280",
|
|
"created": 1614534728.280425,
|
|
"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": 280.4250717163086,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 605.4880619049072,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 341.20702743530273,
|
|
"msg": "Waiting for %.3fs or state change",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 666.2700176239014,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.06078195571899414
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,342",
|
|
"created": 1614534728.342538,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:08,342",
|
|
"created": 1614534728.342008,
|
|
"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": 342.008113861084,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 667.0711040496826,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 1st cycle",
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,342",
|
|
"created": 1614534728.342296,
|
|
"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": 342.29588508605957,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 667.3588752746582,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 342.53811836242676,
|
|
"msg": "State after 1st cycle is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 667.6011085510254,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002422332763671875
|
|
}
|
|
],
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.24655914306640625,
|
|
"time_finished": "2021-02-28 18:52:08,342",
|
|
"time_start": "2021-02-28 18:52:08,095"
|
|
},
|
|
"_GeMSYHczEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:08,613",
|
|
"created": 1614534728.613121,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 40,
|
|
"message": "_GeMSYHczEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 613.1210327148438,
|
|
"msg": "_GeMSYHczEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 938.1840229034424,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:09,366",
|
|
"created": 1614534729.366071,
|
|
"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": "2021-02-28 18:52:08,613",
|
|
"created": 1614534728.613475,
|
|
"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": 613.4750843048096,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 938.5380744934082,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,613",
|
|
"created": 1614534728.61383,
|
|
"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": 613.8300895690918,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 938.8930797576904,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.75
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,614",
|
|
"created": 1614534728.614059,
|
|
"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": 614.0589714050293,
|
|
"msg": "Waiting for %.2fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 939.1219615936279,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,365",
|
|
"created": 1614534729.365538,
|
|
"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": 365.5378818511963,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1690.600872039795,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 366.0709857940674,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1691.133975982666,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0005331039428710938
|
|
},
|
|
{
|
|
"args": [
|
|
"0.7519781589508057",
|
|
"0.7",
|
|
"0.8",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,367",
|
|
"created": 1614534729.367086,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 220,
|
|
"message": "Return Value of previous_state_duration() is correct (Content 0.7519781589508057 in [0.7 ... 0.8] and Type is <type 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return Value of previous_state_duration()",
|
|
"0.7519781589508057",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,366",
|
|
"created": 1614534729.366579,
|
|
"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.7519781589508057 (<type 'float'>)",
|
|
"module": "test",
|
|
"msecs": 366.5790557861328,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1691.6420459747314,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value of previous_state_duration()",
|
|
"0.7",
|
|
"0.8"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,366",
|
|
"created": 1614534729.366844,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 34,
|
|
"message": "Expectation (Return Value of previous_state_duration()): 0.7 <= result <= 0.8",
|
|
"module": "test",
|
|
"msecs": 366.84393882751465,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1691.9069290161133,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 367.08593368530273,
|
|
"msg": "Return Value of previous_state_duration() is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1692.1489238739014,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00024199485778808594
|
|
}
|
|
],
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.753964900970459,
|
|
"time_finished": "2021-02-28 18:52:09,367",
|
|
"time_start": "2021-02-28 18:52:08,613"
|
|
},
|
|
"_P7R34HczEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:07,713",
|
|
"created": 1614534727.713856,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 28,
|
|
"message": "_P7R34HczEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 713.8559818267822,
|
|
"msg": "_P7R34HczEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 38.91897201538086,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:07,714",
|
|
"created": 1614534727.714042,
|
|
"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": "2021-02-28 18:52:07,713",
|
|
"created": 1614534727.713974,
|
|
"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": 713.9739990234375,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.03698921203613,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 714.0419483184814,
|
|
"msg": "Initialising state machine with state_a",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.10493850708008,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.794929504394531e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,714",
|
|
"created": 1614534727.714224,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:07,714",
|
|
"created": 1614534727.714124,
|
|
"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": 714.1239643096924,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.186954498291016,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"'state_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,714",
|
|
"created": 1614534727.714175,
|
|
"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": 714.1749858856201,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.23797607421875,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 714.224100112915,
|
|
"msg": "Initial state after Initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.28709030151367,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.9114227294921875e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:07,714",
|
|
"created": 1614534727.714393,
|
|
"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": "2021-02-28 18:52:07,714",
|
|
"created": 1614534727.714324,
|
|
"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": 714.3239974975586,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.38698768615723,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 714.392900466919,
|
|
"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": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.45589065551758,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.890296936035156e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_b'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,714",
|
|
"created": 1614534727.714574,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:07,714",
|
|
"created": 1614534727.714476,
|
|
"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": 714.4761085510254,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.53909873962402,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 1st execution of work method",
|
|
"'state_b'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,714",
|
|
"created": 1614534727.714526,
|
|
"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": 714.5259380340576,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.58892822265625,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 714.5740985870361,
|
|
"msg": "State after 1st execution of work method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.637088775634766,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.8160552978515625e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:07,714",
|
|
"created": 1614534727.714722,
|
|
"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": "2021-02-28 18:52:07,714",
|
|
"created": 1614534727.714665,
|
|
"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": 714.6649360656738,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.72792625427246,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 714.7219181060791,
|
|
"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": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.784908294677734,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.698204040527344e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,714",
|
|
"created": 1614534727.714898,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:07,714",
|
|
"created": 1614534727.714802,
|
|
"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": 714.8020267486572,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.86501693725586,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 2nd execution of work method",
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,714",
|
|
"created": 1614534727.71485,
|
|
"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": 714.8499488830566,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.91293907165527,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 714.8981094360352,
|
|
"msg": "State after 2nd execution of work method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.96109962463379,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.8160552978515625e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:07,714",
|
|
"created": 1614534727.714973,
|
|
"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": 714.972972869873,
|
|
"msg": "Work routine executed the 3rd time with no effect. No Transitions starting from state_c (dead end)",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.03596305847168,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,715",
|
|
"created": 1614534727.715143,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:07,715",
|
|
"created": 1614534727.715046,
|
|
"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": 715.0459289550781,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.10891914367676,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 3rd execution of work method",
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,715",
|
|
"created": 1614534727.715092,
|
|
"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": 715.0919437408447,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.15493392944336,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 715.1429653167725,
|
|
"msg": "State after 3rd execution of work method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.205955505371094,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.1021575927734375e-05
|
|
}
|
|
],
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0012869834899902344,
|
|
"time_finished": "2021-02-28 18:52:07,715",
|
|
"time_start": "2021-02-28 18:52:07,713"
|
|
},
|
|
"_QofFgK-aEeqZm7ouFR1drQ": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:09,402",
|
|
"created": 1614534729.402489,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 47,
|
|
"message": "_QofFgK-aEeqZm7ouFR1drQ",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 402.48894691467285,
|
|
"msg": "_QofFgK-aEeqZm7ouFR1drQ",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1727.5519371032715,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:09,406",
|
|
"created": 1614534729.406827,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 168,
|
|
"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": "2021-02-28 18:52:09,402",
|
|
"created": 1614534729.40282,
|
|
"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": 402.8201103210449,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1727.8831005096436,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,403",
|
|
"created": 1614534729.403177,
|
|
"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": 403.17702293395996,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1728.2400131225586,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,403",
|
|
"created": 1614534729.403396,
|
|
"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": 403.3958911895752,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1728.4588813781738,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,403",
|
|
"created": 1614534729.403576,
|
|
"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": 403.5758972167969,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1728.6388874053955,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,403",
|
|
"created": 1614534729.403812,
|
|
"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": 403.8119316101074,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1728.874921798706,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,404",
|
|
"created": 1614534729.404015,
|
|
"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": 404.01506423950195,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1729.0780544281006,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,404",
|
|
"created": 1614534729.404173,
|
|
"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": 404.1728973388672,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1729.2358875274658,
|
|
"thread": 140082395936576,
|
|
"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": "2021-02-28 18:52:09,404",
|
|
"created": 1614534729.404377,
|
|
"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": 404.3769836425781,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1729.4399738311768,
|
|
"thread": 140082395936576,
|
|
"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": "2021-02-28 18:52:09,404",
|
|
"created": 1614534729.404575,
|
|
"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": 404.5751094818115,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1729.6380996704102,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"'specific callback for reaching state_b'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,404",
|
|
"created": 1614534729.404754,
|
|
"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": 404.7539234161377,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1729.8169136047363,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"'specific callback for reaching state_b'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,404",
|
|
"created": 1614534729.404925,
|
|
"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": 404.9251079559326,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1729.9880981445312,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'specific callback for reaching state_b'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,405",
|
|
"created": 1614534729.405093,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 1 is correct (Content 'specific callback for reaching state_b' and Type is <type 'str'>).",
|
|
"module": "test",
|
|
"msecs": 405.0929546356201,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1730.1559448242188,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"'nonspecific callback'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,405",
|
|
"created": 1614534729.405261,
|
|
"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": 405.2610397338867,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1730.3240299224854,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"'nonspecific callback'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,405",
|
|
"created": 1614534729.405418,
|
|
"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": 405.41791915893555,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1730.4809093475342,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'nonspecific callback'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,405",
|
|
"created": 1614534729.405574,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 2 is correct (Content 'nonspecific callback' and Type is <type 'str'>).",
|
|
"module": "test",
|
|
"msecs": 405.57408332824707,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1730.6370735168457,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"'specific callback for reaching state_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,405",
|
|
"created": 1614534729.405811,
|
|
"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": 405.811071395874,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1730.8740615844727,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"'specific callback for reaching state_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,405",
|
|
"created": 1614534729.405985,
|
|
"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": 405.98511695861816,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1731.0481071472168,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'specific callback for reaching state_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,406",
|
|
"created": 1614534729.406163,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 3 is correct (Content 'specific callback for reaching state_a' and Type is <type 'str'>).",
|
|
"module": "test",
|
|
"msecs": 406.16297721862793,
|
|
"msg": "Submitted value number 3 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1731.2259674072266,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"'nonspecific callback'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,406",
|
|
"created": 1614534729.406346,
|
|
"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": 406.34608268737793,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1731.4090728759766,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"'nonspecific callback'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,406",
|
|
"created": 1614534729.40651,
|
|
"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": 406.5101146697998,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1731.5731048583984,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'nonspecific callback'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,406",
|
|
"created": 1614534729.40667,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 4 is correct (Content 'nonspecific callback' and Type is <type 'str'>).",
|
|
"module": "test",
|
|
"msecs": 406.67009353637695,
|
|
"msg": "Submitted value number 4 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1731.7330837249756,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 406.8269729614258,
|
|
"msg": "Callback execution order: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1731.8899631500244,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015687942504882812
|
|
}
|
|
],
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00433802604675293,
|
|
"time_finished": "2021-02-28 18:52:09,406",
|
|
"time_start": "2021-02-28 18:52:09,402"
|
|
},
|
|
"_XzMFcHYZEem_kd-7nxt1sg": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:09,367",
|
|
"created": 1614534729.367807,
|
|
"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": 367.80691146850586,
|
|
"msg": "_XzMFcHYZEem_kd-7nxt1sg",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1692.8699016571045,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:09,372",
|
|
"created": 1614534729.372002,
|
|
"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": "2021-02-28 18:52:09,368",
|
|
"created": 1614534729.368229,
|
|
"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": 368.2289123535156,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1693.2919025421143,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,368",
|
|
"created": 1614534729.368572,
|
|
"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": 368.5719966888428,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1693.6349868774414,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,369",
|
|
"created": 1614534729.369207,
|
|
"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.20690536499023,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1694.2698955535889,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,369",
|
|
"created": 1614534729.369478,
|
|
"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": 369.4779872894287,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1694.5409774780273,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,369",
|
|
"created": 1614534729.369725,
|
|
"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": 369.72498893737793,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1694.7879791259766,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,369",
|
|
"created": 1614534729.369972,
|
|
"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": 369.97199058532715,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1695.0349807739258,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,370",
|
|
"created": 1614534729.370175,
|
|
"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": 370.1748847961426,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1695.2378749847412,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,370",
|
|
"created": 1614534729.370406,
|
|
"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": 370.405912399292,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1695.4689025878906,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,370",
|
|
"created": 1614534729.370705,
|
|
"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": 370.70488929748535,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1695.767879486084,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,370",
|
|
"created": 1614534729.370952,
|
|
"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": 370.95189094543457,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1696.0148811340332,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,371",
|
|
"created": 1614534729.371233,
|
|
"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": 371.2329864501953,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1696.295976638794,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,371",
|
|
"created": 1614534729.371485,
|
|
"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": 371.48499488830566,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1696.5479850769043,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,371",
|
|
"created": 1614534729.371774,
|
|
"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": 371.77395820617676,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1696.8369483947754,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 372.00188636779785,
|
|
"msg": "Running state machine sequence and storing sequence number for each callback",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1697.0648765563965,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00022792816162109375
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:09,373",
|
|
"created": 1614534729.373368,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 168,
|
|
"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": "2021-02-28 18:52:09,372",
|
|
"created": 1614534729.372399,
|
|
"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": 372.39909172058105,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1697.4620819091797,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (state_b, condition_a) identified by a sequence number",
|
|
"[ 1 ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,372",
|
|
"created": 1614534729.372631,
|
|
"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": 372.6310729980469,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1697.6940631866455,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,372",
|
|
"created": 1614534729.372848,
|
|
"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": 372.8480339050293,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1697.911024093628,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,373",
|
|
"created": 1614534729.37302,
|
|
"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": 373.0199337005615,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1698.0829238891602,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,373",
|
|
"created": 1614534729.373197,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 1 is correct (Content 1 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 373.197078704834,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1698.2600688934326,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 373.3680248260498,
|
|
"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": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1698.4310150146484,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001709461212158203
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:09,374",
|
|
"created": 1614534729.374635,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 168,
|
|
"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": "2021-02-28 18:52:09,373",
|
|
"created": 1614534729.37371,
|
|
"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": 373.70991706848145,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1698.77290725708,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (state_b, condition_a) identified by a sequence number",
|
|
"[ 2 ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,373",
|
|
"created": 1614534729.37391,
|
|
"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": 373.90995025634766,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1698.9729404449463,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,374",
|
|
"created": 1614534729.374101,
|
|
"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": 374.100923538208,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1699.1639137268066,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,374",
|
|
"created": 1614534729.374269,
|
|
"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": 374.2690086364746,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1699.3319988250732,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,374",
|
|
"created": 1614534729.374455,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 1 is correct (Content 2 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 374.4549751281738,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1699.5179653167725,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 374.6349811553955,
|
|
"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": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1699.6979713439941,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001800060272216797
|
|
}
|
|
],
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0068280696868896484,
|
|
"time_finished": "2021-02-28 18:52:09,374",
|
|
"time_start": "2021-02-28 18:52:09,367"
|
|
},
|
|
"_YrdgQHbUEemIm_1APUisDQ": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:09,375",
|
|
"created": 1614534729.37521,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 44,
|
|
"message": "_YrdgQHbUEemIm_1APUisDQ",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 375.2100467681885,
|
|
"msg": "_YrdgQHbUEemIm_1APUisDQ",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1700.273036956787,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:09,379",
|
|
"created": 1614534729.379356,
|
|
"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": "2021-02-28 18:52:09,375",
|
|
"created": 1614534729.375585,
|
|
"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": 375.58507919311523,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1700.6480693817139,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,375",
|
|
"created": 1614534729.375871,
|
|
"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": 375.870943069458,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1700.9339332580566,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,376",
|
|
"created": 1614534729.376197,
|
|
"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": 376.19709968566895,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1701.2600898742676,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,376",
|
|
"created": 1614534729.37643,
|
|
"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": 376.4300346374512,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1701.4930248260498,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,376",
|
|
"created": 1614534729.376708,
|
|
"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": 376.7080307006836,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1701.7710208892822,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,376",
|
|
"created": 1614534729.376916,
|
|
"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": 376.91593170166016,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1701.9789218902588,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,377",
|
|
"created": 1614534729.377093,
|
|
"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": 377.0930767059326,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1702.1560668945312,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,377",
|
|
"created": 1614534729.377288,
|
|
"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": 377.2881031036377,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1702.3510932922363,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,377",
|
|
"created": 1614534729.377458,
|
|
"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": 377.4580955505371,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1702.5210857391357,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,377",
|
|
"created": 1614534729.377694,
|
|
"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": 377.69389152526855,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1702.7568817138672,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,377",
|
|
"created": 1614534729.377946,
|
|
"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": 377.9458999633789,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.0088901519775,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,378",
|
|
"created": 1614534729.378158,
|
|
"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": 378.1580924987793,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.221082687378,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,378",
|
|
"created": 1614534729.378336,
|
|
"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": 378.33595275878906,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.3989429473877,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,378",
|
|
"created": 1614534729.378527,
|
|
"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": 378.5269260406494,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.589916229248,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
7
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,378",
|
|
"created": 1614534729.378708,
|
|
"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": 378.7078857421875,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.7708759307861,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
8
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,378",
|
|
"created": 1614534729.378907,
|
|
"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": 378.9069652557373,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.969955444336,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,379",
|
|
"created": 1614534729.379149,
|
|
"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": 379.1489601135254,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.211950302124,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 379.35590744018555,
|
|
"msg": "Running state machine sequence and storing sequence number for each callback",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.4188976287842,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00020694732666015625
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:09,381",
|
|
"created": 1614534729.381155,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 168,
|
|
"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": "2021-02-28 18:52:09,379",
|
|
"created": 1614534729.379713,
|
|
"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": 379.7130584716797,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.7760486602783,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (all_transitions, condition_b) identified by a sequence number",
|
|
"[ 2, 5 ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,379",
|
|
"created": 1614534729.379912,
|
|
"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": 379.9118995666504,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.974889755249,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,380",
|
|
"created": 1614534729.380119,
|
|
"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": 380.11908531188965,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.1820755004883,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,380",
|
|
"created": 1614534729.380291,
|
|
"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": 380.2909851074219,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.3539752960205,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,380",
|
|
"created": 1614534729.380466,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 1 is correct (Content 2 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 380.4659843444824,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.528974533081,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,380",
|
|
"created": 1614534729.380643,
|
|
"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": 380.6428909301758,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.7058811187744,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,380",
|
|
"created": 1614534729.380817,
|
|
"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": 380.8169364929199,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.8799266815186,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,380",
|
|
"created": 1614534729.380989,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 2 is correct (Content 5 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 380.98907470703125,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.0520648956299,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 381.15501403808594,
|
|
"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": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.2180042266846,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001659393310546875
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:09,382",
|
|
"created": 1614534729.382948,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 168,
|
|
"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": "2021-02-28 18:52:09,381",
|
|
"created": 1614534729.381478,
|
|
"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": 381.47807121276855,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.5410614013672,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (all_transitions, condition_b) identified by a sequence number",
|
|
"[ 3, 6 ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,381",
|
|
"created": 1614534729.381695,
|
|
"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": 381.695032119751,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.7580223083496,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"3",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,381",
|
|
"created": 1614534729.381888,
|
|
"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": 381.88791275024414,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.9509029388428,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"3",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,382",
|
|
"created": 1614534729.382058,
|
|
"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": 382.05790519714355,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.1208953857422,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"3",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,382",
|
|
"created": 1614534729.38225,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 1 is correct (Content 3 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 382.2500705718994,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.313060760498,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"6",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,382",
|
|
"created": 1614534729.382436,
|
|
"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": 382.43603706359863,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.4990272521973,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"6",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,382",
|
|
"created": 1614534729.3826,
|
|
"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": 382.6000690460205,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.6630592346191,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"6",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,382",
|
|
"created": 1614534729.382769,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 2 is correct (Content 6 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 382.7691078186035,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.8320980072021,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 382.9479217529297,
|
|
"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": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.0109119415283,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017881393432617188
|
|
}
|
|
],
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.007737874984741211,
|
|
"time_finished": "2021-02-28 18:52:09,382",
|
|
"time_start": "2021-02-28 18:52:09,375"
|
|
},
|
|
"_bDqbMHcrEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:07,712",
|
|
"created": 1614534727.712328,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 24,
|
|
"message": "_bDqbMHcrEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 712.3279571533203,
|
|
"msg": "_bDqbMHcrEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 37.390947341918945,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:07,712",
|
|
"created": 1614534727.712479,
|
|
"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": "2021-02-28 18:52:07,712",
|
|
"created": 1614534727.712418,
|
|
"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": 712.4180793762207,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 37.481069564819336,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 712.4791145324707,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_init.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 37.542104721069336,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.103515625e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,712",
|
|
"created": 1614534727.712655,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:07,712",
|
|
"created": 1614534727.712555,
|
|
"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": 712.554931640625,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 37.61792182922363,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Last state after initialisation",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,712",
|
|
"created": 1614534727.712606,
|
|
"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": 712.6059532165527,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 37.66894340515137,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 712.6550674438477,
|
|
"msg": "Last state after initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 37.71805763244629,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.9114227294921875e-05
|
|
}
|
|
],
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00032711029052734375,
|
|
"time_finished": "2021-02-28 18:52:07,712",
|
|
"time_start": "2021-02-28 18:52:07,712"
|
|
},
|
|
"_b_t78Hb4EemzkK7kGUMNfw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:09,383",
|
|
"created": 1614534729.383488,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 45,
|
|
"message": "_b_t78Hb4EemzkK7kGUMNfw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 383.4879398345947,
|
|
"msg": "_b_t78Hb4EemzkK7kGUMNfw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.5509300231934,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:09,387",
|
|
"created": 1614534729.387546,
|
|
"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": "2021-02-28 18:52:09,383",
|
|
"created": 1614534729.383852,
|
|
"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.8520050048828,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.9149951934814,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,384",
|
|
"created": 1614534729.384136,
|
|
"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.1359615325928,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.1989517211914,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,384",
|
|
"created": 1614534729.384463,
|
|
"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.4630718231201,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.5260620117188,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,384",
|
|
"created": 1614534729.384697,
|
|
"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": 384.69696044921875,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.7599506378174,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,384",
|
|
"created": 1614534729.38488,
|
|
"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": 384.88006591796875,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.9430561065674,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,385",
|
|
"created": 1614534729.385083,
|
|
"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.0829601287842,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1710.1459503173828,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,385",
|
|
"created": 1614534729.385256,
|
|
"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.2560520172119,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1710.3190422058105,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,385",
|
|
"created": 1614534729.38547,
|
|
"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.469913482666,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1710.5329036712646,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,385",
|
|
"created": 1614534729.385765,
|
|
"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.76507568359375,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1710.8280658721924,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,386",
|
|
"created": 1614534729.386013,
|
|
"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": 386.0130310058594,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1711.076021194458,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,386",
|
|
"created": 1614534729.386266,
|
|
"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.26599311828613,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1711.3289833068848,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,386",
|
|
"created": 1614534729.386509,
|
|
"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": 386.5089416503906,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1711.5719318389893,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,386",
|
|
"created": 1614534729.386666,
|
|
"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": 386.66605949401855,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1711.7290496826172,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,386",
|
|
"created": 1614534729.386836,
|
|
"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": 386.83605194091797,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1711.8990421295166,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
7
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,386",
|
|
"created": 1614534729.386983,
|
|
"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": 386.98291778564453,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.0459079742432,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
8
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,387",
|
|
"created": 1614534729.38715,
|
|
"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": 387.1500492095947,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.2130393981934,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,387",
|
|
"created": 1614534729.38735,
|
|
"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": 387.35008239746094,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.4130725860596,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 387.5460624694824,
|
|
"msg": "Running state machine sequence and storing sequence number for each callback",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.609052658081,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00019598007202148438
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:09,389",
|
|
"created": 1614534729.389263,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 168,
|
|
"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": "2021-02-28 18:52:09,387",
|
|
"created": 1614534729.38788,
|
|
"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": 387.8800868988037,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.9430770874023,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (state_b, all_conditions) identified by a sequence number",
|
|
"[ 1, 5 ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,388",
|
|
"created": 1614534729.388094,
|
|
"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": 388.0939483642578,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.1569385528564,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,388",
|
|
"created": 1614534729.388281,
|
|
"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": 388.28110694885254,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.3440971374512,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,388",
|
|
"created": 1614534729.388448,
|
|
"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": 388.44799995422363,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.5109901428223,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,388",
|
|
"created": 1614534729.388614,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 1 is correct (Content 1 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 388.6139392852783,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.676929473877,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,388",
|
|
"created": 1614534729.388793,
|
|
"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": 388.7929916381836,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.8559818267822,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,388",
|
|
"created": 1614534729.388947,
|
|
"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": 388.9470100402832,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.0100002288818,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,389",
|
|
"created": 1614534729.3891,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 2 is correct (Content 5 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 389.1000747680664,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.163064956665,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 389.2629146575928,
|
|
"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": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.3259048461914,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001628398895263672
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:09,390",
|
|
"created": 1614534729.390981,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 168,
|
|
"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": "2021-02-28 18:52:09,389",
|
|
"created": 1614534729.38957,
|
|
"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": 389.5699977874756,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.6329879760742,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (state_b, all_conditions) identified by a sequence number",
|
|
"[ 2, 6 ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,389",
|
|
"created": 1614534729.389811,
|
|
"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": 389.81103897094727,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.874029159546,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,390",
|
|
"created": 1614534729.390009,
|
|
"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.00892639160156,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.0719165802002,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,390",
|
|
"created": 1614534729.390172,
|
|
"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.17200469970703,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.2349948883057,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,390",
|
|
"created": 1614534729.390335,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 1 is correct (Content 2 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 390.3350830078125,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.3980731964111,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"6",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,390",
|
|
"created": 1614534729.390497,
|
|
"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": 390.49696922302246,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.559959411621,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"6",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,390",
|
|
"created": 1614534729.390665,
|
|
"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": 390.66505432128906,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.7280445098877,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"6",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,390",
|
|
"created": 1614534729.390822,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 2 is correct (Content 6 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 390.8219337463379,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1715.8849239349365,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 390.98095893859863,
|
|
"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": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1716.0439491271973,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001590251922607422
|
|
}
|
|
],
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.007493019104003906,
|
|
"time_finished": "2021-02-28 18:52:09,390",
|
|
"time_start": "2021-02-28 18:52:09,383"
|
|
},
|
|
"_e4QPUHb4EemzkK7kGUMNfw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:09,391",
|
|
"created": 1614534729.391614,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 46,
|
|
"message": "_e4QPUHb4EemzkK7kGUMNfw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 391.6139602661133,
|
|
"msg": "_e4QPUHb4EemzkK7kGUMNfw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1716.676950454712,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:09,396",
|
|
"created": 1614534729.396777,
|
|
"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": "2021-02-28 18:52:09,391",
|
|
"created": 1614534729.391993,
|
|
"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.99304580688477,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1717.0560359954834,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,392",
|
|
"created": 1614534729.392286,
|
|
"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": 392.2860622406006,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1717.3490524291992,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,392",
|
|
"created": 1614534729.392605,
|
|
"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": 392.6050662994385,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1717.668056488037,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,392",
|
|
"created": 1614534729.392814,
|
|
"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": 392.81392097473145,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1717.87691116333,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,392",
|
|
"created": 1614534729.392993,
|
|
"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": 392.9929733276367,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1718.0559635162354,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,393",
|
|
"created": 1614534729.39319,
|
|
"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.1899070739746,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1718.2528972625732,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,393",
|
|
"created": 1614534729.39334,
|
|
"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.3401107788086,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1718.4031009674072,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,393",
|
|
"created": 1614534729.393512,
|
|
"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.5120105743408,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1718.5750007629395,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,393",
|
|
"created": 1614534729.393799,
|
|
"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.7990665435791,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1718.8620567321777,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,394",
|
|
"created": 1614534729.394015,
|
|
"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.0150737762451,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1719.0780639648438,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,394",
|
|
"created": 1614534729.394182,
|
|
"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": 394.1819667816162,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1719.2449569702148,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,394",
|
|
"created": 1614534729.394355,
|
|
"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.35505867004395,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1719.4180488586426,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,394",
|
|
"created": 1614534729.394505,
|
|
"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": 394.5050239562988,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1719.5680141448975,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
7
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,394",
|
|
"created": 1614534729.394681,
|
|
"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": 394.6809768676758,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1719.7439670562744,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,394",
|
|
"created": 1614534729.394906,
|
|
"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": 394.90604400634766,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1719.9690341949463,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,395",
|
|
"created": 1614534729.395084,
|
|
"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": 395.0839042663574,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1720.146894454956,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
8
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,395",
|
|
"created": 1614534729.395238,
|
|
"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": 395.23792266845703,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1720.3009128570557,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,395",
|
|
"created": 1614534729.395416,
|
|
"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": 395.4160213470459,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1720.4790115356445,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
9
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,395",
|
|
"created": 1614534729.395566,
|
|
"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": 395.5659866333008,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1720.6289768218994,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
10
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,395",
|
|
"created": 1614534729.395758,
|
|
"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": 395.75791358947754,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1720.8209037780762,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,395",
|
|
"created": 1614534729.395966,
|
|
"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": 395.9660530090332,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1721.0290431976318,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,396",
|
|
"created": 1614534729.396142,
|
|
"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": 396.14200592041016,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1721.2049961090088,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
11
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,396",
|
|
"created": 1614534729.396291,
|
|
"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": 396.29101753234863,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1721.3540077209473,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,396",
|
|
"created": 1614534729.396463,
|
|
"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": 396.46291732788086,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1721.5259075164795,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
12
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,396",
|
|
"created": 1614534729.39661,
|
|
"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": 396.6100215911865,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1721.6730117797852,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 396.7769145965576,
|
|
"msg": "Running state machine sequence and storing sequence number for each callback",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1721.8399047851562,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00016689300537109375
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:09,399",
|
|
"created": 1614534729.399304,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 168,
|
|
"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": "2021-02-28 18:52:09,397",
|
|
"created": 1614534729.397124,
|
|
"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": 397.1240520477295,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1722.1870422363281,
|
|
"thread": 140082395936576,
|
|
"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": "2021-02-28 18:52:09,397",
|
|
"created": 1614534729.397304,
|
|
"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": 397.3040580749512,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1722.3670482635498,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,397",
|
|
"created": 1614534729.397483,
|
|
"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": 397.48311042785645,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1722.546100616455,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,397",
|
|
"created": 1614534729.397634,
|
|
"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": 397.63402938842773,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1722.6970195770264,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,397",
|
|
"created": 1614534729.397841,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 1 is correct (Content 1 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 397.8409767150879,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1722.9039669036865,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"4",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,397",
|
|
"created": 1614534729.397995,
|
|
"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": 397.9949951171875,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1723.0579853057861,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"4",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,398",
|
|
"created": 1614534729.398136,
|
|
"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": 398.1359004974365,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1723.1988906860352,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"4",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,398",
|
|
"created": 1614534729.398279,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 2 is correct (Content 4 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 398.27895164489746,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1723.341941833496,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"7",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,398",
|
|
"created": 1614534729.398444,
|
|
"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": 398.44393730163574,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1723.5069274902344,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"7",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,398",
|
|
"created": 1614534729.398587,
|
|
"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": 398.5869884490967,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1723.6499786376953,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"7",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,398",
|
|
"created": 1614534729.398729,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 3 is correct (Content 7 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 398.7290859222412,
|
|
"msg": "Submitted value number 3 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1723.7920761108398,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"10",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,398",
|
|
"created": 1614534729.398873,
|
|
"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": 398.87309074401855,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1723.9360809326172,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"10",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,399",
|
|
"created": 1614534729.399021,
|
|
"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": 399.0209102630615,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1724.0839004516602,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"10",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,399",
|
|
"created": 1614534729.399164,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 4 is correct (Content 10 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 399.16396141052246,
|
|
"msg": "Submitted value number 4 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1724.226951599121,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 399.3039131164551,
|
|
"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": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1724.3669033050537,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001399517059326172
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:09,401",
|
|
"created": 1614534729.401922,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 168,
|
|
"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": "2021-02-28 18:52:09,399",
|
|
"created": 1614534729.399608,
|
|
"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": 399.60789680480957,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1724.6708869934082,
|
|
"thread": 140082395936576,
|
|
"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": "2021-02-28 18:52:09,399",
|
|
"created": 1614534729.39979,
|
|
"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": 399.79004859924316,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1724.8530387878418,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,399",
|
|
"created": 1614534729.399948,
|
|
"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": 399.9478816986084,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1725.010871887207,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,400",
|
|
"created": 1614534729.400089,
|
|
"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": 400.0890254974365,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1725.1520156860352,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,400",
|
|
"created": 1614534729.400235,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 1 is correct (Content 2 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 400.2349376678467,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1725.2979278564453,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,400",
|
|
"created": 1614534729.400394,
|
|
"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": 400.3939628601074,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1725.456953048706,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,400",
|
|
"created": 1614534729.400534,
|
|
"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": 400.53391456604004,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1725.5969047546387,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,400",
|
|
"created": 1614534729.400686,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 2 is correct (Content 5 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 400.68602561950684,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1725.7490158081055,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"8",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,400",
|
|
"created": 1614534729.400848,
|
|
"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": 400.8479118347168,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1725.9109020233154,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"8",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,401",
|
|
"created": 1614534729.401049,
|
|
"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": 401.0488986968994,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1726.111888885498,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"8",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,401",
|
|
"created": 1614534729.401197,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 3 is correct (Content 8 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 401.1969566345215,
|
|
"msg": "Submitted value number 3 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1726.2599468231201,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"11",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,401",
|
|
"created": 1614534729.401344,
|
|
"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": 401.34406089782715,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1726.4070510864258,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"11",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,401",
|
|
"created": 1614534729.401503,
|
|
"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": 401.5030860900879,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1726.5660762786865,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"11",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,401",
|
|
"created": 1614534729.401732,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 4 is correct (Content 11 and Type is <type 'int'>).",
|
|
"module": "test",
|
|
"msecs": 401.7319679260254,
|
|
"msg": "Submitted value number 4 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1726.794958114624,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 401.92198753356934,
|
|
"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": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1726.984977722168,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001900196075439453
|
|
}
|
|
],
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.010308027267456055,
|
|
"time_finished": "2021-02-28 18:52:09,401",
|
|
"time_start": "2021-02-28 18:52:09,391"
|
|
},
|
|
"_fE3tMHczEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:07,715",
|
|
"created": 1614534727.715301,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 29,
|
|
"message": "_fE3tMHczEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 715.3010368347168,
|
|
"msg": "_fE3tMHczEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.36402702331543,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:07,715",
|
|
"created": 1614534727.715491,
|
|
"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": "2021-02-28 18:52:07,715",
|
|
"created": 1614534727.715423,
|
|
"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": 715.4231071472168,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.48609733581543,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 715.4910564422607,
|
|
"msg": "Initialising state machine with state_a",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.554046630859375,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.794929504394531e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,715",
|
|
"created": 1614534727.715676,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:07,715",
|
|
"created": 1614534727.715575,
|
|
"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": 715.5749797821045,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.637969970703125,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"'state_a'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,715",
|
|
"created": 1614534727.715627,
|
|
"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": 715.6269550323486,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.689945220947266,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 715.6760692596436,
|
|
"msg": "Initial state after Initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.73905944824219,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.9114227294921875e-05
|
|
},
|
|
{
|
|
"args": [
|
|
0.16
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,866",
|
|
"created": 1614534727.866408,
|
|
"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": "2021-02-28 18:52:07,865",
|
|
"created": 1614534727.86598,
|
|
"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": 865.9799098968506,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 191.04290008544922,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 866.408109664917,
|
|
"msg": "Waiting for %.3fs or state change",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 191.47109985351562,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00042819976806640625
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_b'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,867",
|
|
"created": 1614534727.867107,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:07,866",
|
|
"created": 1614534727.866859,
|
|
"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": 866.858959197998,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 191.92194938659668,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 1st cycle",
|
|
"'state_b'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,866",
|
|
"created": 1614534727.866989,
|
|
"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": 866.9888973236084,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 192.05188751220703,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 867.1069145202637,
|
|
"msg": "State after 1st cycle is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 192.1699047088623,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00011801719665527344
|
|
},
|
|
{
|
|
"args": [
|
|
"0.15063905715942383",
|
|
"0.145",
|
|
"0.155",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,867",
|
|
"created": 1614534727.867524,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 220,
|
|
"message": "Transition time after 1st cycle is correct (Content 0.15063905715942383 in [0.145 ... 0.155] and Type is <type 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Transition time after 1st cycle",
|
|
"0.15063905715942383",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,867",
|
|
"created": 1614534727.867296,
|
|
"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.15063905715942383 (<type 'float'>)",
|
|
"module": "test",
|
|
"msecs": 867.2959804534912,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 192.35897064208984,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Transition time after 1st cycle",
|
|
"0.145",
|
|
"0.155"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,867",
|
|
"created": 1614534727.867407,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 34,
|
|
"message": "Expectation (Transition time after 1st cycle): 0.145 <= result <= 0.155",
|
|
"module": "test",
|
|
"msecs": 867.4070835113525,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 192.47007369995117,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 867.5239086151123,
|
|
"msg": "Transition time after 1st cycle is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 192.58689880371094,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00011682510375976562
|
|
},
|
|
{
|
|
"args": [
|
|
0.235
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,093",
|
|
"created": 1614534728.093423,
|
|
"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": "2021-02-28 18:52:08,092",
|
|
"created": 1614534728.09298,
|
|
"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": 92.97990798950195,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 418.0428981781006,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 93.42288970947266,
|
|
"msg": "Waiting for %.3fs or state change",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 418.4858798980713,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0004429817199707031
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,094",
|
|
"created": 1614534728.094198,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:08,093",
|
|
"created": 1614534728.093837,
|
|
"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": 93.83702278137207,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 418.9000129699707,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 2nd cycle",
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,094",
|
|
"created": 1614534728.094027,
|
|
"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": 94.02704238891602,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 419.09003257751465,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 94.19798851013184,
|
|
"msg": "State after 2nd cycle is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 419.26097869873047,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001709461212158203
|
|
},
|
|
{
|
|
"args": [
|
|
"0.1503770351409912",
|
|
"0.145",
|
|
"0.155",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,094",
|
|
"created": 1614534728.094832,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 220,
|
|
"message": "Transition time after 2nd cycle is correct (Content 0.1503770351409912 in [0.145 ... 0.155] and Type is <type 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Transition time after 2nd cycle",
|
|
"0.1503770351409912",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,094",
|
|
"created": 1614534728.094474,
|
|
"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.1503770351409912 (<type 'float'>)",
|
|
"module": "test",
|
|
"msecs": 94.47407722473145,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 419.5370674133301,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Transition time after 2nd cycle",
|
|
"0.145",
|
|
"0.155"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,094",
|
|
"created": 1614534728.094654,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 34,
|
|
"message": "Expectation (Transition time after 2nd cycle): 0.145 <= result <= 0.155",
|
|
"module": "test",
|
|
"msecs": 94.65408325195312,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 419.71707344055176,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 94.83194351196289,
|
|
"msg": "Transition time after 2nd cycle is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 419.8949337005615,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017786026000976562
|
|
},
|
|
{
|
|
"args": [
|
|
"0.22572588920593262",
|
|
"0.21999999999999997",
|
|
"0.22999999999999998",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,095",
|
|
"created": 1614534728.09543,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 220,
|
|
"message": "Previous state duration is correct (Content 0.22572588920593262 in [0.21999999999999997 ... 0.22999999999999998] and Type is <type 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Previous state duration",
|
|
"0.22572588920593262",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,095",
|
|
"created": 1614534728.095096,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Previous state duration): 0.22572588920593262 (<type 'float'>)",
|
|
"module": "test",
|
|
"msecs": 95.09611129760742,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 420.15910148620605,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Previous state duration",
|
|
"0.21999999999999997",
|
|
"0.22999999999999998"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,095",
|
|
"created": 1614534728.095263,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 34,
|
|
"message": "Expectation (Previous state duration): 0.21999999999999997 <= result <= 0.22999999999999998",
|
|
"module": "test",
|
|
"msecs": 95.26300430297852,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 420.32599449157715,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 95.42989730834961,
|
|
"msg": "Previous state duration is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 420.49288749694824,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00016689300537109375
|
|
}
|
|
],
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.3801288604736328,
|
|
"time_finished": "2021-02-28 18:52:08,095",
|
|
"time_start": "2021-02-28 18:52:07,715"
|
|
},
|
|
"_iTFPQHcrEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:07,712",
|
|
"created": 1614534727.712795,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 25,
|
|
"message": "_iTFPQHcrEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 712.7950191497803,
|
|
"msg": "_iTFPQHcrEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 37.858009338378906,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:07,712",
|
|
"created": 1614534727.712948,
|
|
"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": "2021-02-28 18:52:07,712",
|
|
"created": 1614534727.712883,
|
|
"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": 712.8829956054688,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 37.94598579406738,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 712.9480838775635,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_init.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 38.01107406616211,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.508827209472656e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"{'1': 1, '2': 'two'}",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,713",
|
|
"created": 1614534727.713153,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:07,713",
|
|
"created": 1614534727.713032,
|
|
"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": 713.0320072174072,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 38.09499740600586,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_4 stored in state_machine",
|
|
"{ '1': 1, '2': 'two' }",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,713",
|
|
"created": 1614534727.713086,
|
|
"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": 713.0858898162842,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 38.14888000488281,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 713.1528854370117,
|
|
"msg": "Keyword argument kw_arg_no_4 stored in state_machine is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 38.21587562561035,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.699562072753906e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,713",
|
|
"created": 1614534727.713335,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:07,713",
|
|
"created": 1614534727.713236,
|
|
"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": 713.2360935211182,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 38.2990837097168,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_1 stored in state_machine",
|
|
"1",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,713",
|
|
"created": 1614534727.713285,
|
|
"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": 713.284969329834,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 38.34795951843262,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 713.3350372314453,
|
|
"msg": "Keyword argument kw_arg_no_1 stored in state_machine is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 38.398027420043945,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.0067901611328125e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,713",
|
|
"created": 1614534727.713511,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:07,713",
|
|
"created": 1614534727.713416,
|
|
"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": 713.4160995483398,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 38.47908973693848,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_3 stored in state_machine",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,713",
|
|
"created": 1614534727.713464,
|
|
"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": 713.4640216827393,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 38.52701187133789,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 713.5109901428223,
|
|
"msg": "Keyword argument kw_arg_no_3 stored in state_machine is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 38.5739803314209,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.696846008300781e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'2'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,713",
|
|
"created": 1614534727.713698,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:07,713",
|
|
"created": 1614534727.713586,
|
|
"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": 713.5860919952393,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 38.64908218383789,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_2 stored in state_machine",
|
|
"'2'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,713",
|
|
"created": 1614534727.713633,
|
|
"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": 713.6330604553223,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 38.6960506439209,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 713.6979103088379,
|
|
"msg": "Keyword argument kw_arg_no_2 stored in state_machine is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 38.76090049743652,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.4849853515625e-05
|
|
}
|
|
],
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0009028911590576172,
|
|
"time_finished": "2021-02-28 18:52:07,713",
|
|
"time_start": "2021-02-28 18:52:07,712"
|
|
},
|
|
"_j2FvkHcqEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:07,711",
|
|
"created": 1614534727.71184,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 23,
|
|
"message": "_j2FvkHcqEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 711.8399143218994,
|
|
"msg": "_j2FvkHcqEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 36.90290451049805,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:07,711",
|
|
"created": 1614534727.712,
|
|
"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": "2021-02-28 18:52:07,711",
|
|
"created": 1614534727.711932,
|
|
"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": 711.9319438934326,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 36.99493408203125,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 711.9998931884766,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_init.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 37.062883377075195,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.794929504394531e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'__init__'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,712",
|
|
"created": 1614534727.712183,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:07,712",
|
|
"created": 1614534727.712081,
|
|
"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": 712.0809555053711,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 37.14394569396973,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Last transition condition after initialisation",
|
|
"'__init__'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,712",
|
|
"created": 1614534727.712133,
|
|
"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": 712.1329307556152,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 37.19592094421387,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 712.1829986572266,
|
|
"msg": "Last transition condition after initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 37.245988845825195,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.0067901611328125e-05
|
|
}
|
|
],
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00034308433532714844,
|
|
"time_finished": "2021-02-28 18:52:07,712",
|
|
"time_start": "2021-02-28 18:52:07,711"
|
|
},
|
|
"_tRZ50HcyEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:08,343",
|
|
"created": 1614534728.34326,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 33,
|
|
"message": "_tRZ50HcyEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 343.2600498199463,
|
|
"msg": "_tRZ50HcyEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 668.3230400085449,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:08,343",
|
|
"created": 1614534728.343961,
|
|
"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": "2021-02-28 18:52:08,343",
|
|
"created": 1614534728.343682,
|
|
"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": 343.68205070495605,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 668.7450408935547,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 343.9610004425049,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 669.0239906311035,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002789497375488281
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,344",
|
|
"created": 1614534728.344748,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:08,344",
|
|
"created": 1614534728.344314,
|
|
"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": 344.3140983581543,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 669.3770885467529,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state()",
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,344",
|
|
"created": 1614534728.344535,
|
|
"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": 344.53511238098145,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 669.5981025695801,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 344.74802017211914,
|
|
"msg": "Returnvalue of this_state() is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 669.8110103607178,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002129077911376953
|
|
}
|
|
],
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0014879703521728516,
|
|
"time_finished": "2021-02-28 18:52:08,344",
|
|
"time_start": "2021-02-28 18:52:08,343"
|
|
},
|
|
"_vAtUQHcyEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:08,345",
|
|
"created": 1614534728.345363,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 34,
|
|
"message": "_vAtUQHcyEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 345.36290168762207,
|
|
"msg": "_vAtUQHcyEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 670.4258918762207,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:08,345",
|
|
"created": 1614534728.345995,
|
|
"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": "2021-02-28 18:52:08,345",
|
|
"created": 1614534728.345762,
|
|
"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": 345.7620143890381,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 670.8250045776367,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 345.9949493408203,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 671.057939529419,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00023293495178222656
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,346",
|
|
"created": 1614534728.346688,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:08,346",
|
|
"created": 1614534728.3463,
|
|
"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": 346.2998867034912,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 671.3628768920898,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state_is(state_c)",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,346",
|
|
"created": 1614534728.346504,
|
|
"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": 346.50397300720215,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 671.5669631958008,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 346.68803215026855,
|
|
"msg": "Returnvalue of this_state_is(state_c) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 671.7510223388672,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00018405914306640625
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,347",
|
|
"created": 1614534728.347376,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:08,347",
|
|
"created": 1614534728.347013,
|
|
"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": 347.012996673584,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 672.0759868621826,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state_is(state_b)",
|
|
"False",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,347",
|
|
"created": 1614534728.347198,
|
|
"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": 347.1980094909668,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 672.2609996795654,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 347.37610816955566,
|
|
"msg": "Returnvalue of this_state_is(state_b) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 672.4390983581543,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001780986785888672
|
|
}
|
|
],
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0020132064819335938,
|
|
"time_finished": "2021-02-28 18:52:08,347",
|
|
"time_start": "2021-02-28 18:52:08,345"
|
|
},
|
|
"_w49d4HcHEem_Z9BBpwIuJw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:07,711",
|
|
"created": 1614534727.711185,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 22,
|
|
"message": "_w49d4HcHEem_Z9BBpwIuJw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 711.1849784851074,
|
|
"msg": "_w49d4HcHEem_Z9BBpwIuJw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 36.247968673706055,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:07,711",
|
|
"created": 1614534727.711482,
|
|
"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": "2021-02-28 18:52:07,711",
|
|
"created": 1614534727.711405,
|
|
"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": 711.4050388336182,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 36.4680290222168,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 711.482048034668,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_init.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 36.5450382232666,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 7.700920104980469e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,711",
|
|
"created": 1614534727.711684,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:07,711",
|
|
"created": 1614534727.711574,
|
|
"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": 711.5740776062012,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 36.637067794799805,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after initialisation",
|
|
"'state_c'",
|
|
"<type 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:07,711",
|
|
"created": 1614534727.711631,
|
|
"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": 711.6310596466064,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 36.69404983520508,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 711.683988571167,
|
|
"msg": "State after initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 36.746978759765625,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.2928924560546875e-05
|
|
}
|
|
],
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0004990100860595703,
|
|
"time_finished": "2021-02-28 18:52:07,711",
|
|
"time_start": "2021-02-28 18:52:07,711"
|
|
},
|
|
"_yVA9oHcyEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:08,347",
|
|
"created": 1614534728.347912,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 35,
|
|
"message": "_yVA9oHcyEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 347.912073135376,
|
|
"msg": "_yVA9oHcyEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 672.9750633239746,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:08,599",
|
|
"created": 1614534728.59994,
|
|
"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": "2021-02-28 18:52:08,348",
|
|
"created": 1614534728.348258,
|
|
"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": 348.25801849365234,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 673.321008682251,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,348",
|
|
"created": 1614534728.348611,
|
|
"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": 348.61111640930176,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 673.6741065979004,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.25
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,599",
|
|
"created": 1614534728.599443,
|
|
"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": 599.4429588317871,
|
|
"msg": "Waiting for %.2fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 924.5059490203857,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 599.9400615692139,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 925.0030517578125,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0004971027374267578
|
|
},
|
|
{
|
|
"args": [
|
|
"0.2516179084777832",
|
|
"0.2",
|
|
"0.3",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,600",
|
|
"created": 1614534728.600994,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 220,
|
|
"message": "Return Value of this_state_duration() is correct (Content 0.2516179084777832 in [0.2 ... 0.3] and Type is <type 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return Value of this_state_duration()",
|
|
"0.2516179084777832",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,600",
|
|
"created": 1614534728.600482,
|
|
"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.2516179084777832 (<type 'float'>)",
|
|
"module": "test",
|
|
"msecs": 600.4819869995117,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 925.5449771881104,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value of this_state_duration()",
|
|
"0.2",
|
|
"0.3"
|
|
],
|
|
"asctime": "2021-02-28 18:52:08,600",
|
|
"created": 1614534728.60075,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 34,
|
|
"message": "Expectation (Return Value of this_state_duration()): 0.2 <= result <= 0.3",
|
|
"module": "test",
|
|
"msecs": 600.7499694824219,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 925.8129596710205,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 600.9941101074219,
|
|
"msg": "Return Value of this_state_duration() is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63749,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 926.0571002960205,
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.000244140625
|
|
}
|
|
],
|
|
"thread": 140082395936576,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.2530820369720459,
|
|
"time_finished": "2021-02-28 18:52:08,600",
|
|
"time_start": "2021-02-28 18:52:08,347"
|
|
}
|
|
},
|
|
"testrun_id": "p2",
|
|
"time_consumption": 1.6863090991973877,
|
|
"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": "2021-02-28 18:52:10,830",
|
|
"created": 1614534730.8302324,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 38,
|
|
"message": "_-kytMHcyEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 830.2323818206787,
|
|
"msg": "_-kytMHcyEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 969.7587490081787,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:10,830",
|
|
"created": 1614534730.8309977,
|
|
"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": "2021-02-28 18:52:10,830",
|
|
"created": 1614534730.830524,
|
|
"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": 830.5239677429199,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 970.0503349304199,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,830",
|
|
"created": 1614534730.8308105,
|
|
"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": 830.810546875,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 970.3369140625,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 830.9977054595947,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 970.5240726470947,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00018715858459472656
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,831",
|
|
"created": 1614534730.8315692,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:10,831",
|
|
"created": 1614534730.8312573,
|
|
"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": 831.2573432922363,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 970.7837104797363,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state()",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,831",
|
|
"created": 1614534730.8314357,
|
|
"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": 831.4356803894043,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 970.9620475769043,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 831.5691947937012,
|
|
"msg": "Returnvalue of previous_state() is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 971.0955619812012,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.000133514404296875
|
|
}
|
|
],
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.001336812973022461,
|
|
"time_finished": "2021-02-28 18:52:10,831",
|
|
"time_start": "2021-02-28 18:52:10,830"
|
|
},
|
|
"_1WGwEHcyEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:10,825",
|
|
"created": 1614534730.8251793,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 36,
|
|
"message": "_1WGwEHcyEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 825.1793384552002,
|
|
"msg": "_1WGwEHcyEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 964.7057056427002,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:10,826",
|
|
"created": 1614534730.8261032,
|
|
"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": "2021-02-28 18:52:10,825",
|
|
"created": 1614534730.8255403,
|
|
"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": 825.54030418396,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 965.06667137146,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,825",
|
|
"created": 1614534730.8258972,
|
|
"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": 825.897216796875,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 965.423583984375,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 826.1032104492188,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 965.6295776367188,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00020599365234375
|
|
},
|
|
{
|
|
"args": [
|
|
"'condition_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,827",
|
|
"created": 1614534730.8272264,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:10,826",
|
|
"created": 1614534730.8268557,
|
|
"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": 826.8556594848633,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 966.3820266723633,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition()",
|
|
"'condition_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,827",
|
|
"created": 1614534730.8270528,
|
|
"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": 827.0528316497803,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 966.5791988372803,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 827.2264003753662,
|
|
"msg": "Returnvalue of last_transition_condition() is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 966.7527675628662,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001735687255859375
|
|
}
|
|
],
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0020470619201660156,
|
|
"time_finished": "2021-02-28 18:52:10,827",
|
|
"time_start": "2021-02-28 18:52:10,825"
|
|
},
|
|
"_7Mq60HcyEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:10,827",
|
|
"created": 1614534730.8277302,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 37,
|
|
"message": "_7Mq60HcyEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 827.7301788330078,
|
|
"msg": "_7Mq60HcyEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 967.2565460205078,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:10,828",
|
|
"created": 1614534730.8285108,
|
|
"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": "2021-02-28 18:52:10,828",
|
|
"created": 1614534730.8280358,
|
|
"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": 828.035831451416,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 967.562198638916,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,828",
|
|
"created": 1614534730.828318,
|
|
"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": 828.3181190490723,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 967.8444862365723,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 828.5107612609863,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 968.0371284484863,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001926422119140625
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,829",
|
|
"created": 1614534730.8291347,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:10,828",
|
|
"created": 1614534730.8287928,
|
|
"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": 828.7928104400635,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 968.3191776275635,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition(condition_a)",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,828",
|
|
"created": 1614534730.8289635,
|
|
"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": 828.9635181427002,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 968.4898853302002,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 829.1347026824951,
|
|
"msg": "Returnvalue of last_transition_condition(condition_a) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 968.6610698699951,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017118453979492188
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,829",
|
|
"created": 1614534730.8297293,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:10,829",
|
|
"created": 1614534730.8293893,
|
|
"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": 829.3893337249756,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 968.9157009124756,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition(condition_c)",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,829",
|
|
"created": 1614534730.8295496,
|
|
"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": 829.5495510101318,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 969.0759181976318,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 829.7293186187744,
|
|
"msg": "Returnvalue of last_transition_condition(condition_c) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 969.2556858062744,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017976760864257812
|
|
}
|
|
],
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0019991397857666016,
|
|
"time_finished": "2021-02-28 18:52:10,829",
|
|
"time_start": "2021-02-28 18:52:10,827"
|
|
},
|
|
"_AcYg8HczEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:10,831",
|
|
"created": 1614534730.8319836,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 39,
|
|
"message": "_AcYg8HczEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 831.9835662841797,
|
|
"msg": "_AcYg8HczEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 971.5099334716797,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:10,832",
|
|
"created": 1614534730.8326464,
|
|
"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": "2021-02-28 18:52:10,832",
|
|
"created": 1614534730.8322341,
|
|
"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": 832.2341442108154,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 971.7605113983154,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,832",
|
|
"created": 1614534730.8324764,
|
|
"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": 832.4763774871826,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 972.0027446746826,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 832.646369934082,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 972.172737121582,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00016999244689941406
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,833",
|
|
"created": 1614534730.8331702,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:10,832",
|
|
"created": 1614534730.832872,
|
|
"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": 832.8719139099121,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 972.3982810974121,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state_was(state_a)",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,833",
|
|
"created": 1614534730.8330214,
|
|
"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": 833.0214023590088,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 972.5477695465088,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 833.1701755523682,
|
|
"msg": "Returnvalue of previous_state_was(state_a) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 972.6965427398682,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.000148773193359375
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,833",
|
|
"created": 1614534730.8336701,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:10,833",
|
|
"created": 1614534730.8333855,
|
|
"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": 833.3854675292969,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 972.9118347167969,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state_was(state_b)",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,833",
|
|
"created": 1614534730.8335204,
|
|
"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": 833.5204124450684,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 973.0467796325684,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 833.6701393127441,
|
|
"msg": "Returnvalue of previous_state_was(state_b) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 973.1965065002441,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00014972686767578125
|
|
}
|
|
],
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0016865730285644531,
|
|
"time_finished": "2021-02-28 18:52:10,833",
|
|
"time_start": "2021-02-28 18:52:10,831"
|
|
},
|
|
"_C0Vi0HgPEemBsuKWG645TA": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:10,319",
|
|
"created": 1614534730.319415,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 30,
|
|
"message": "_C0Vi0HgPEemBsuKWG645TA",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 319.4150924682617,
|
|
"msg": "_C0Vi0HgPEemBsuKWG645TA",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 458.9414596557617,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
0.151,
|
|
0.15
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,319",
|
|
"created": 1614534730.3195908,
|
|
"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": "2021-02-28 18:52:10,319",
|
|
"created": 1614534730.31953,
|
|
"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": 319.5300102233887,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 459.0563774108887,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 319.59080696105957,
|
|
"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": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 459.11717414855957,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.079673767089844e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,319",
|
|
"created": 1614534730.3197532,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:10,319",
|
|
"created": 1614534730.319666,
|
|
"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": 319.66590881347656,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 459.19227600097656,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,319",
|
|
"created": 1614534730.3197107,
|
|
"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": 319.71073150634766,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 459.23709869384766,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 319.75317001342773,
|
|
"msg": "Initial state after Initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 459.27953720092773,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.2438507080078125e-05
|
|
},
|
|
{
|
|
"args": [
|
|
0.3
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,563",
|
|
"created": 1614534730.563003,
|
|
"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": [
|
|
3.814697265625e-06
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,319",
|
|
"created": 1614534730.3198187,
|
|
"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": 319.81873512268066,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 459.34510231018066,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.06034231185913086
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,380",
|
|
"created": 1614534730.3802178,
|
|
"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": 380.2177906036377,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 519.7441577911377,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.12117290496826172
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,441",
|
|
"created": 1614534730.4410663,
|
|
"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": 441.0662651062012,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 580.5926322937012,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.182098388671875
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,501",
|
|
"created": 1614534730.5019848,
|
|
"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": 501.9848346710205,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 641.5112018585205,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_true'",
|
|
"'state_a'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,502",
|
|
"created": 1614534730.5024383,
|
|
"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": 502.4383068084717,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 641.9646739959717,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 563.0030632019043,
|
|
"msg": "Waiting for %.3fs or state change",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 702.5294303894043,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.06056475639343262
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,564",
|
|
"created": 1614534730.564545,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:10,563",
|
|
"created": 1614534730.5638623,
|
|
"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": 563.8623237609863,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 703.3886909484863,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 1st cycle",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,564",
|
|
"created": 1614534730.5642116,
|
|
"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": 564.2116069793701,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 703.7379741668701,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 564.5449161529541,
|
|
"msg": "State after 1st cycle is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 704.0712833404541,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0003333091735839844
|
|
}
|
|
],
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.24512982368469238,
|
|
"time_finished": "2021-02-28 18:52:10,564",
|
|
"time_start": "2021-02-28 18:52:10,319"
|
|
},
|
|
"_GeMSYHczEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:10,834",
|
|
"created": 1614534730.834097,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 40,
|
|
"message": "_GeMSYHczEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 834.0969085693359,
|
|
"msg": "_GeMSYHczEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 973.6232757568359,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:11,586",
|
|
"created": 1614534731.5865397,
|
|
"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": "2021-02-28 18:52:10,834",
|
|
"created": 1614534730.834334,
|
|
"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": 834.3338966369629,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 973.8602638244629,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,834",
|
|
"created": 1614534730.83456,
|
|
"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": 834.5599174499512,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 974.0862846374512,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.75
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,834",
|
|
"created": 1614534730.8347185,
|
|
"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": 834.7184658050537,
|
|
"msg": "Waiting for %.2fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 974.2448329925537,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,586",
|
|
"created": 1614534731.5860949,
|
|
"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": 586.094856262207,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1725.621223449707,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 586.5397453308105,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1726.0661125183105,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0004448890686035156
|
|
},
|
|
{
|
|
"args": [
|
|
"0.7517855167388916",
|
|
"0.7",
|
|
"0.8",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,587",
|
|
"created": 1614534731.5874476,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 220,
|
|
"message": "Return Value of previous_state_duration() is correct (Content 0.7517855167388916 in [0.7 ... 0.8] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return Value of previous_state_duration()",
|
|
"0.7517855167388916",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,587",
|
|
"created": 1614534731.587002,
|
|
"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.7517855167388916 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 587.0020389556885,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1726.5284061431885,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value of previous_state_duration()",
|
|
"0.7",
|
|
"0.8"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,587",
|
|
"created": 1614534731.5872357,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 34,
|
|
"message": "Expectation (Return Value of previous_state_duration()): 0.7 <= result <= 0.8",
|
|
"module": "test",
|
|
"msecs": 587.235689163208,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1726.762056350708,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 587.4476432800293,
|
|
"msg": "Return Value of previous_state_duration() is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1726.9740104675293,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00021195411682128906
|
|
}
|
|
],
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.7533507347106934,
|
|
"time_finished": "2021-02-28 18:52:11,587",
|
|
"time_start": "2021-02-28 18:52:10,834"
|
|
},
|
|
"_P7R34HczEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:09,940",
|
|
"created": 1614534729.9404898,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 28,
|
|
"message": "_P7R34HczEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 940.4897689819336,
|
|
"msg": "_P7R34HczEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 80.0161361694336,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:09,940",
|
|
"created": 1614534729.9406557,
|
|
"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": "2021-02-28 18:52:09,940",
|
|
"created": 1614534729.9405975,
|
|
"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.5975341796875,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 80.1239013671875,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 940.6557083129883,
|
|
"msg": "Initialising state machine with state_a",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 80.18207550048828,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.817413330078125e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,940",
|
|
"created": 1614534729.9408135,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:09,940",
|
|
"created": 1614534729.940726,
|
|
"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": 940.7260417938232,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 80.25240898132324,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,940",
|
|
"created": 1614534729.9407713,
|
|
"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": 940.7713413238525,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 80.29770851135254,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 940.8135414123535,
|
|
"msg": "Initial state after Initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 80.33990859985352,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.220008850097656e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:09,940",
|
|
"created": 1614534729.9409528,
|
|
"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": "2021-02-28 18:52:09,940",
|
|
"created": 1614534729.9408984,
|
|
"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": 940.8984184265137,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 80.42478561401367,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 940.9527778625488,
|
|
"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": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 80.47914505004883,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.435943603515625e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,941",
|
|
"created": 1614534729.9411087,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:09,941",
|
|
"created": 1614534729.9410243,
|
|
"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": 941.0243034362793,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 80.5506706237793,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 1st execution of work method",
|
|
"'state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,941",
|
|
"created": 1614534729.9410672,
|
|
"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": 941.0672187805176,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 80.59358596801758,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 941.1087036132812,
|
|
"msg": "State after 1st execution of work method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 80.63507080078125,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.1484832763671875e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:09,941",
|
|
"created": 1614534729.9412394,
|
|
"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": "2021-02-28 18:52:09,941",
|
|
"created": 1614534729.9411886,
|
|
"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": 941.1885738372803,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 80.71494102478027,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 941.2393569946289,
|
|
"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": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 80.7657241821289,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.078315734863281e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,941",
|
|
"created": 1614534729.9413934,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:09,941",
|
|
"created": 1614534729.941309,
|
|
"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": 941.3089752197266,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 80.83534240722656,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 2nd execution of work method",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,941",
|
|
"created": 1614534729.9413521,
|
|
"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": 941.352128982544,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 80.87849617004395,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 941.3933753967285,
|
|
"msg": "State after 2nd execution of work method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 80.91974258422852,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.124641418457031e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:09,941",
|
|
"created": 1614534729.9414585,
|
|
"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": 941.4584636688232,
|
|
"msg": "Work routine executed the 3rd time with no effect. No Transitions starting from state_c (dead end)",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 80.98483085632324,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,941",
|
|
"created": 1614534729.9416091,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:09,941",
|
|
"created": 1614534729.9415226,
|
|
"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": 941.5225982666016,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 81.04896545410156,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 3rd execution of work method",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,941",
|
|
"created": 1614534729.9415677,
|
|
"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": 941.5676593780518,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 81.09402656555176,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 941.6091442108154,
|
|
"msg": "State after 3rd execution of work method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 81.13551139831543,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.1484832763671875e-05
|
|
}
|
|
],
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.001119375228881836,
|
|
"time_finished": "2021-02-28 18:52:09,941",
|
|
"time_start": "2021-02-28 18:52:09,940"
|
|
},
|
|
"_QofFgK-aEeqZm7ouFR1drQ": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:11,617",
|
|
"created": 1614534731.617439,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 47,
|
|
"message": "_QofFgK-aEeqZm7ouFR1drQ",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 617.4390316009521,
|
|
"msg": "_QofFgK-aEeqZm7ouFR1drQ",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1756.9653987884521,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:11,620",
|
|
"created": 1614534731.6208127,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 168,
|
|
"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": "2021-02-28 18:52:11,617",
|
|
"created": 1614534731.6177216,
|
|
"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": 617.7215576171875,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1757.2479248046875,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,618",
|
|
"created": 1614534731.6180022,
|
|
"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": 618.00217628479,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1757.52854347229,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,618",
|
|
"created": 1614534731.618171,
|
|
"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": 618.170976638794,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1757.697343826294,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,618",
|
|
"created": 1614534731.6183205,
|
|
"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": 618.3204650878906,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1757.8468322753906,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,618",
|
|
"created": 1614534731.6185045,
|
|
"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": 618.504524230957,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1758.030891418457,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,618",
|
|
"created": 1614534731.618656,
|
|
"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": 618.6559200286865,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1758.1822872161865,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,618",
|
|
"created": 1614534731.6187844,
|
|
"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": 618.7844276428223,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1758.3107948303223,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"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": "2021-02-28 18:52:11,618",
|
|
"created": 1614534731.618956,
|
|
"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": 618.9560890197754,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1758.4824562072754,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"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": "2021-02-28 18:52:11,619",
|
|
"created": 1614534731.6191065,
|
|
"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": 619.1065311431885,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1758.6328983306885,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"'specific callback for reaching state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,619",
|
|
"created": 1614534731.6192513,
|
|
"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": 619.2512512207031,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1758.7776184082031,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"'specific callback for reaching state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,619",
|
|
"created": 1614534731.619378,
|
|
"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": 619.3780899047852,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1758.9044570922852,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'specific callback for reaching state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,619",
|
|
"created": 1614534731.6195092,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 1 is correct (Content 'specific callback for reaching state_b' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"msecs": 619.509220123291,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1759.035587310791,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,619",
|
|
"created": 1614534731.6196516,
|
|
"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": 619.6515560150146,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1759.1779232025146,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,619",
|
|
"created": 1614534731.6198013,
|
|
"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": 619.8012828826904,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1759.3276500701904,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,619",
|
|
"created": 1614534731.6199243,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 2 is correct (Content 'nonspecific callback' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"msecs": 619.9243068695068,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1759.4506740570068,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"'specific callback for reaching state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,620",
|
|
"created": 1614534731.6200483,
|
|
"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": 620.0482845306396,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1759.5746517181396,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"'specific callback for reaching state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,620",
|
|
"created": 1614534731.6201704,
|
|
"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": 620.1703548431396,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1759.6967220306396,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'specific callback for reaching state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,620",
|
|
"created": 1614534731.620307,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 3 is correct (Content 'specific callback for reaching state_a' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"msecs": 620.3069686889648,
|
|
"msg": "Submitted value number 3 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1759.8333358764648,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,620",
|
|
"created": 1614534731.6204343,
|
|
"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": 620.4342842102051,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1759.960651397705,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,620",
|
|
"created": 1614534731.620555,
|
|
"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": 620.5549240112305,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1760.0812911987305,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,620",
|
|
"created": 1614534731.6206918,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 4 is correct (Content 'nonspecific callback' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"msecs": 620.6917762756348,
|
|
"msg": "Submitted value number 4 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1760.2181434631348,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 620.8126544952393,
|
|
"msg": "Callback execution order: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1760.3390216827393,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00012087821960449219
|
|
}
|
|
],
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0033736228942871094,
|
|
"time_finished": "2021-02-28 18:52:11,620",
|
|
"time_start": "2021-02-28 18:52:11,617"
|
|
},
|
|
"_XzMFcHYZEem_kd-7nxt1sg": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:11,588",
|
|
"created": 1614534731.588094,
|
|
"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": 588.0939960479736,
|
|
"msg": "_XzMFcHYZEem_kd-7nxt1sg",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1727.6203632354736,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:11,591",
|
|
"created": 1614534731.5915422,
|
|
"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": "2021-02-28 18:52:11,588",
|
|
"created": 1614534731.5884526,
|
|
"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": 588.4525775909424,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1727.9789447784424,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,588",
|
|
"created": 1614534731.5887673,
|
|
"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": 588.7672901153564,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1728.2936573028564,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,589",
|
|
"created": 1614534731.5892317,
|
|
"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": 589.2317295074463,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1728.7580966949463,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,589",
|
|
"created": 1614534731.5894809,
|
|
"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": 589.4808769226074,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1729.0072441101074,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,589",
|
|
"created": 1614534731.58971,
|
|
"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": 589.709997177124,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1729.236364364624,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,589",
|
|
"created": 1614534731.5899067,
|
|
"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": 589.9066925048828,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1729.4330596923828,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,590",
|
|
"created": 1614534731.5900757,
|
|
"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": 590.0757312774658,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1729.6020984649658,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,590",
|
|
"created": 1614534731.5902596,
|
|
"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": 590.2595520019531,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1729.7859191894531,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,590",
|
|
"created": 1614534731.5904887,
|
|
"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": 590.4886722564697,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1730.0150394439697,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,590",
|
|
"created": 1614534731.590694,
|
|
"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": 590.6939506530762,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1730.2203178405762,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,590",
|
|
"created": 1614534731.590932,
|
|
"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": 590.9318923950195,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1730.4582595825195,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,591",
|
|
"created": 1614534731.591135,
|
|
"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": 591.1350250244141,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1730.661392211914,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,591",
|
|
"created": 1614534731.5913515,
|
|
"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": 591.3515090942383,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1730.8778762817383,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 591.5422439575195,
|
|
"msg": "Running state machine sequence and storing sequence number for each callback",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1731.0686111450195,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00019073486328125
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:11,592",
|
|
"created": 1614534731.592875,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 168,
|
|
"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": "2021-02-28 18:52:11,591",
|
|
"created": 1614534731.5918887,
|
|
"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": 591.8886661529541,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1731.415033340454,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (state_b, condition_a) identified by a sequence number",
|
|
"[ 1 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,592",
|
|
"created": 1614534731.5921044,
|
|
"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": 592.104434967041,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1731.630802154541,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,592",
|
|
"created": 1614534731.5923026,
|
|
"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": 592.3025608062744,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1731.8289279937744,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,592",
|
|
"created": 1614534731.5924873,
|
|
"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": 592.4873352050781,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1732.0137023925781,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,592",
|
|
"created": 1614534731.5926929,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 1 is correct (Content 1 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 592.6928520202637,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1732.2192192077637,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 592.8750038146973,
|
|
"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": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1732.4013710021973,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00018215179443359375
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:11,594",
|
|
"created": 1614534731.5940387,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 168,
|
|
"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": "2021-02-28 18:52:11,593",
|
|
"created": 1614534731.5931828,
|
|
"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": 593.1828022003174,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1732.7091693878174,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (state_b, condition_a) identified by a sequence number",
|
|
"[ 2 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,593",
|
|
"created": 1614534731.5933928,
|
|
"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": 593.3928489685059,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1732.9192161560059,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,593",
|
|
"created": 1614534731.5935593,
|
|
"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": 593.5592651367188,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1733.0856323242188,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,593",
|
|
"created": 1614534731.593733,
|
|
"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": 593.7330722808838,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1733.2594394683838,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,593",
|
|
"created": 1614534731.5938854,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 1 is correct (Content 2 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 593.8854217529297,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1733.4117889404297,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 594.038724899292,
|
|
"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": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1733.565092086792,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001533031463623047
|
|
}
|
|
],
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.005944728851318359,
|
|
"time_finished": "2021-02-28 18:52:11,594",
|
|
"time_start": "2021-02-28 18:52:11,588"
|
|
},
|
|
"_YrdgQHbUEemIm_1APUisDQ": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:11,594",
|
|
"created": 1614534731.5945613,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 44,
|
|
"message": "_YrdgQHbUEemIm_1APUisDQ",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 594.5613384246826,
|
|
"msg": "_YrdgQHbUEemIm_1APUisDQ",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1734.0877056121826,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:11,597",
|
|
"created": 1614534731.597972,
|
|
"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": "2021-02-28 18:52:11,594",
|
|
"created": 1614534731.594862,
|
|
"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": 594.8619842529297,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1734.3883514404297,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,595",
|
|
"created": 1614534731.5951118,
|
|
"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": 595.1118469238281,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1734.6382141113281,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,595",
|
|
"created": 1614534731.5953617,
|
|
"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": 595.3617095947266,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1734.8880767822266,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,595",
|
|
"created": 1614534731.595579,
|
|
"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": 595.5789089202881,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1735.105276107788,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,595",
|
|
"created": 1614534731.5957985,
|
|
"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": 595.7984924316406,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1735.3248596191406,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,595",
|
|
"created": 1614534731.5959752,
|
|
"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": 595.9751605987549,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1735.5015277862549,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,596",
|
|
"created": 1614534731.5961266,
|
|
"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": 596.1265563964844,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1735.6529235839844,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,596",
|
|
"created": 1614534731.5962772,
|
|
"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": 596.2772369384766,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1735.8036041259766,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,596",
|
|
"created": 1614534731.5964181,
|
|
"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": 596.4181423187256,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1735.9445095062256,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,596",
|
|
"created": 1614534731.596578,
|
|
"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": 596.5778827667236,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1736.1042499542236,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,596",
|
|
"created": 1614534731.5967686,
|
|
"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": 596.7686176300049,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1736.2949848175049,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,596",
|
|
"created": 1614534731.5969381,
|
|
"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": 596.9381332397461,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1736.464500427246,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,597",
|
|
"created": 1614534731.5970826,
|
|
"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": 597.0826148986816,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1736.6089820861816,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,597",
|
|
"created": 1614534731.5972452,
|
|
"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": 597.2452163696289,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1736.771583557129,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
7
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,597",
|
|
"created": 1614534731.5973876,
|
|
"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": 597.3875522613525,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1736.9139194488525,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
8
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,597",
|
|
"created": 1614534731.597555,
|
|
"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": 597.5549221038818,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1737.0812892913818,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,597",
|
|
"created": 1614534731.59779,
|
|
"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": 597.790002822876,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1737.316370010376,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 597.9719161987305,
|
|
"msg": "Running state machine sequence and storing sequence number for each callback",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1737.4982833862305,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001819133758544922
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:11,599",
|
|
"created": 1614534731.5995376,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 168,
|
|
"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": "2021-02-28 18:52:11,598",
|
|
"created": 1614534731.5982866,
|
|
"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": 598.2866287231445,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1737.8129959106445,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (all_transitions, condition_b) identified by a sequence number",
|
|
"[ 2, 5 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,598",
|
|
"created": 1614534731.5984743,
|
|
"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": 598.4742641448975,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1738.0006313323975,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,598",
|
|
"created": 1614534731.5986578,
|
|
"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": 598.6578464508057,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1738.1842136383057,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,598",
|
|
"created": 1614534731.5988085,
|
|
"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": 598.8085269927979,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1738.3348941802979,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,598",
|
|
"created": 1614534731.5989585,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 1 is correct (Content 2 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 598.9584922790527,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1738.4848594665527,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,599",
|
|
"created": 1614534731.599111,
|
|
"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": 599.1110801696777,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1738.6374473571777,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,599",
|
|
"created": 1614534731.599253,
|
|
"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": 599.2529392242432,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1738.7793064117432,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,599",
|
|
"created": 1614534731.5993984,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 2 is correct (Content 5 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 599.3983745574951,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1738.9247417449951,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 599.5376110076904,
|
|
"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": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1739.0639781951904,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001392364501953125
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:11,601",
|
|
"created": 1614534731.6010282,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 168,
|
|
"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": "2021-02-28 18:52:11,599",
|
|
"created": 1614534731.5998313,
|
|
"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": 599.8313426971436,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1739.3577098846436,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (all_transitions, condition_b) identified by a sequence number",
|
|
"[ 3, 6 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,600",
|
|
"created": 1614534731.6000016,
|
|
"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": 600.0015735626221,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1739.527940750122,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"3",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,600",
|
|
"created": 1614534731.6001623,
|
|
"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": 600.1622676849365,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1739.6886348724365,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"3",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,600",
|
|
"created": 1614534731.6003106,
|
|
"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": 600.3105640411377,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1739.8369312286377,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"3",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,600",
|
|
"created": 1614534731.6004574,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 1 is correct (Content 3 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 600.4574298858643,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1739.9837970733643,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,600",
|
|
"created": 1614534731.600609,
|
|
"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": 600.6090641021729,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1740.1354312896729,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,600",
|
|
"created": 1614534731.600749,
|
|
"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": 600.7490158081055,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1740.2753829956055,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,600",
|
|
"created": 1614534731.6008918,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 2 is correct (Content 6 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 600.8918285369873,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1740.4181957244873,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 601.0282039642334,
|
|
"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": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1740.5545711517334,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00013637542724609375
|
|
}
|
|
],
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.006466865539550781,
|
|
"time_finished": "2021-02-28 18:52:11,601",
|
|
"time_start": "2021-02-28 18:52:11,594"
|
|
},
|
|
"_bDqbMHcrEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:09,939",
|
|
"created": 1614534729.9391491,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 24,
|
|
"message": "_bDqbMHcrEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 939.1491413116455,
|
|
"msg": "_bDqbMHcrEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.67550849914551,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:09,939",
|
|
"created": 1614534729.9392803,
|
|
"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": "2021-02-28 18:52:09,939",
|
|
"created": 1614534729.9392266,
|
|
"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": 939.2266273498535,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.75299453735352,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 939.2802715301514,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_init.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.80663871765137,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.364418029785156e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,939",
|
|
"created": 1614534729.939439,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:09,939",
|
|
"created": 1614534729.939347,
|
|
"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": 939.3470287322998,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.8733959197998,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Last state after initialisation",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,939",
|
|
"created": 1614534729.9393914,
|
|
"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": 939.3913745880127,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.9177417755127,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 939.439058303833,
|
|
"msg": "Last state after initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.96542549133301,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.76837158203125e-05
|
|
}
|
|
],
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002899169921875,
|
|
"time_finished": "2021-02-28 18:52:09,939",
|
|
"time_start": "2021-02-28 18:52:09,939"
|
|
},
|
|
"_b_t78Hb4EemzkK7kGUMNfw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:11,601",
|
|
"created": 1614534731.6015594,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 45,
|
|
"message": "_b_t78Hb4EemzkK7kGUMNfw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 601.5594005584717,
|
|
"msg": "_b_t78Hb4EemzkK7kGUMNfw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1741.0857677459717,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:11,604",
|
|
"created": 1614534731.604948,
|
|
"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": "2021-02-28 18:52:11,601",
|
|
"created": 1614534731.6018827,
|
|
"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": 601.8826961517334,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1741.4090633392334,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,602",
|
|
"created": 1614534731.6021333,
|
|
"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": 602.1332740783691,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1741.6596412658691,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,602",
|
|
"created": 1614534731.6023834,
|
|
"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": 602.3833751678467,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1741.9097423553467,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,602",
|
|
"created": 1614534731.6025705,
|
|
"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": 602.5705337524414,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1742.0969009399414,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,602",
|
|
"created": 1614534731.6027236,
|
|
"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": 602.7235984802246,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1742.2499656677246,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,602",
|
|
"created": 1614534731.6029067,
|
|
"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": 602.9067039489746,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1742.4330711364746,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,603",
|
|
"created": 1614534731.603069,
|
|
"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": 603.0690670013428,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1742.5954341888428,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,603",
|
|
"created": 1614534731.6032188,
|
|
"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": 603.2187938690186,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1742.7451610565186,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,603",
|
|
"created": 1614534731.6034062,
|
|
"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": 603.4061908721924,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1742.9325580596924,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,603",
|
|
"created": 1614534731.603574,
|
|
"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": 603.5740375518799,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1743.1004047393799,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,603",
|
|
"created": 1614534731.6037521,
|
|
"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": 603.7521362304688,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1743.2785034179688,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,603",
|
|
"created": 1614534731.6039402,
|
|
"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": 603.9402484893799,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1743.4666156768799,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,604",
|
|
"created": 1614534731.6040876,
|
|
"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": 604.0875911712646,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1743.6139583587646,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,604",
|
|
"created": 1614534731.6042573,
|
|
"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": 604.257345199585,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1743.783712387085,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
7
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,604",
|
|
"created": 1614534731.6044014,
|
|
"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": 604.4013500213623,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1743.9277172088623,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
8
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,604",
|
|
"created": 1614534731.6045694,
|
|
"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": 604.5694351196289,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1744.095802307129,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,604",
|
|
"created": 1614534731.6047614,
|
|
"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": 604.7613620758057,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1744.2877292633057,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 604.9480438232422,
|
|
"msg": "Running state machine sequence and storing sequence number for each callback",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1744.4744110107422,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00018668174743652344
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:11,606",
|
|
"created": 1614534731.606554,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 168,
|
|
"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": "2021-02-28 18:52:11,605",
|
|
"created": 1614534731.6052608,
|
|
"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": 605.2608489990234,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1744.7872161865234,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (state_b, all_conditions) identified by a sequence number",
|
|
"[ 1, 5 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,605",
|
|
"created": 1614534731.6054337,
|
|
"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": 605.4337024688721,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1744.960069656372,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,605",
|
|
"created": 1614534731.6055925,
|
|
"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": 605.5924892425537,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1745.1188564300537,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,605",
|
|
"created": 1614534731.605765,
|
|
"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": 605.7651042938232,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1745.2914714813232,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,605",
|
|
"created": 1614534731.6059208,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 1 is correct (Content 1 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 605.9207916259766,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1745.4471588134766,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,606",
|
|
"created": 1614534731.606095,
|
|
"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": 606.0950756072998,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1745.6214427947998,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,606",
|
|
"created": 1614534731.6062548,
|
|
"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": 606.2548160552979,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1745.7811832427979,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,606",
|
|
"created": 1614534731.6064174,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 2 is correct (Content 5 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 606.4174175262451,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1745.9437847137451,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 606.5540313720703,
|
|
"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": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1746.0803985595703,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001366138458251953
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:11,608",
|
|
"created": 1614534731.6081371,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 168,
|
|
"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": "2021-02-28 18:52:11,606",
|
|
"created": 1614534731.6068363,
|
|
"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": 606.8363189697266,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1746.3626861572266,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (state_b, all_conditions) identified by a sequence number",
|
|
"[ 2, 6 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,607",
|
|
"created": 1614534731.6070123,
|
|
"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": 607.0122718811035,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1746.5386390686035,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,607",
|
|
"created": 1614534731.6072114,
|
|
"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": 607.2113513946533,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1746.7377185821533,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,607",
|
|
"created": 1614534731.6073632,
|
|
"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": 607.363224029541,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1746.889591217041,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,607",
|
|
"created": 1614534731.607536,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 1 is correct (Content 2 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 607.5360774993896,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1747.0624446868896,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,607",
|
|
"created": 1614534731.607704,
|
|
"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": 607.7039241790771,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1747.2302913665771,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,607",
|
|
"created": 1614534731.607851,
|
|
"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": 607.8510284423828,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1747.3773956298828,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,607",
|
|
"created": 1614534731.6079977,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 2 is correct (Content 6 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 607.9976558685303,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1747.5240230560303,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 608.1371307373047,
|
|
"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": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1747.6634979248047,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00013947486877441406
|
|
}
|
|
],
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.006577730178833008,
|
|
"time_finished": "2021-02-28 18:52:11,608",
|
|
"time_start": "2021-02-28 18:52:11,601"
|
|
},
|
|
"_e4QPUHb4EemzkK7kGUMNfw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:11,608",
|
|
"created": 1614534731.6087065,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 46,
|
|
"message": "_e4QPUHb4EemzkK7kGUMNfw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 608.7064743041992,
|
|
"msg": "_e4QPUHb4EemzkK7kGUMNfw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1748.2328414916992,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:11,612",
|
|
"created": 1614534731.6127055,
|
|
"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": "2021-02-28 18:52:11,609",
|
|
"created": 1614534731.6090329,
|
|
"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": 609.0328693389893,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1748.5592365264893,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,609",
|
|
"created": 1614534731.60928,
|
|
"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": 609.2801094055176,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1748.8064765930176,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,609",
|
|
"created": 1614534731.6095097,
|
|
"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": 609.5097064971924,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1749.0360736846924,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,609",
|
|
"created": 1614534731.6096935,
|
|
"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": 609.6935272216797,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1749.2198944091797,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,609",
|
|
"created": 1614534731.6098263,
|
|
"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": 609.8263263702393,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1749.3526935577393,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,609",
|
|
"created": 1614534731.609954,
|
|
"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": 609.9541187286377,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1749.4804859161377,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,610",
|
|
"created": 1614534731.6100726,
|
|
"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": 610.0726127624512,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1749.5989799499512,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,610",
|
|
"created": 1614534731.610221,
|
|
"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": 610.2209091186523,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1749.7472763061523,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,610",
|
|
"created": 1614534731.6103923,
|
|
"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": 610.3923320770264,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1749.9186992645264,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,610",
|
|
"created": 1614534731.61056,
|
|
"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": 610.5599403381348,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1750.0863075256348,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,610",
|
|
"created": 1614534731.6106935,
|
|
"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": 610.6934547424316,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1750.2198219299316,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,610",
|
|
"created": 1614534731.6108162,
|
|
"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": 610.816240310669,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1750.342607498169,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,610",
|
|
"created": 1614534731.6109328,
|
|
"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": 610.9328269958496,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1750.4591941833496,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
7
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,611",
|
|
"created": 1614534731.611063,
|
|
"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": 611.0630035400391,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1750.589370727539,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,611",
|
|
"created": 1614534731.611223,
|
|
"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": 611.2229824066162,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1750.7493495941162,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,611",
|
|
"created": 1614534731.6113727,
|
|
"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": 611.372709274292,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1750.899076461792,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
8
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,611",
|
|
"created": 1614534731.611493,
|
|
"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": 611.4931106567383,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1751.0194778442383,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,611",
|
|
"created": 1614534731.6116168,
|
|
"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": 611.616849899292,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1751.143217086792,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
9
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,611",
|
|
"created": 1614534731.6117427,
|
|
"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": 611.7427349090576,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1751.2691020965576,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
10
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,611",
|
|
"created": 1614534731.6118822,
|
|
"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": 611.882209777832,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1751.408576965332,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,612",
|
|
"created": 1614534731.6120646,
|
|
"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": 612.0645999908447,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1751.5909671783447,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,612",
|
|
"created": 1614534731.612209,
|
|
"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": 612.2090816497803,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1751.7354488372803,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
11
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,612",
|
|
"created": 1614534731.6123326,
|
|
"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": 612.3325824737549,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1751.8589496612549,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,612",
|
|
"created": 1614534731.6124554,
|
|
"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": 612.4553680419922,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1751.9817352294922,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
12
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,612",
|
|
"created": 1614534731.6125736,
|
|
"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": 612.5736236572266,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1752.0999908447266,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 612.7054691314697,
|
|
"msg": "Running state machine sequence and storing sequence number for each callback",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1752.2318363189697,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00013184547424316406
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:11,614",
|
|
"created": 1614534731.6148705,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 168,
|
|
"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": "2021-02-28 18:52:11,612",
|
|
"created": 1614534731.6129925,
|
|
"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": 612.992525100708,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1752.518892288208,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"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": "2021-02-28 18:52:11,613",
|
|
"created": 1614534731.6131709,
|
|
"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": 613.170862197876,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1752.697229385376,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,613",
|
|
"created": 1614534731.613323,
|
|
"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": 613.3229732513428,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1752.8493404388428,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,613",
|
|
"created": 1614534731.6134496,
|
|
"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": 613.4495735168457,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1752.9759407043457,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,613",
|
|
"created": 1614534731.6135798,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 1 is correct (Content 1 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 613.5797500610352,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1753.1061172485352,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"4",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,613",
|
|
"created": 1614534731.6137435,
|
|
"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": 613.7435436248779,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1753.269910812378,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"4",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,613",
|
|
"created": 1614534731.61387,
|
|
"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": 613.8699054718018,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1753.3962726593018,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"4",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,613",
|
|
"created": 1614534731.6139958,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 2 is correct (Content 4 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 613.9957904815674,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1753.5221576690674,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"7",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,614",
|
|
"created": 1614534731.6141217,
|
|
"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": 614.121675491333,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1753.648042678833,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"7",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,614",
|
|
"created": 1614534731.6142452,
|
|
"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": 614.2451763153076,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1753.7715435028076,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"7",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,614",
|
|
"created": 1614534731.6143694,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 3 is correct (Content 7 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 614.3693923950195,
|
|
"msg": "Submitted value number 3 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1753.8957595825195,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"10",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,614",
|
|
"created": 1614534731.6144953,
|
|
"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": 614.4952774047852,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1754.0216445922852,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"10",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,614",
|
|
"created": 1614534731.614627,
|
|
"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": 614.6268844604492,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1754.1532516479492,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"10",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,614",
|
|
"created": 1614534731.614753,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 4 is correct (Content 10 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 614.753007888794,
|
|
"msg": "Submitted value number 4 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1754.279375076294,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 614.870548248291,
|
|
"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": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1754.396915435791,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00011754035949707031
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:11,616",
|
|
"created": 1614534731.6169565,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 168,
|
|
"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": "2021-02-28 18:52:11,615",
|
|
"created": 1614534731.6151342,
|
|
"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": 615.1342391967773,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1754.6606063842773,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"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": "2021-02-28 18:52:11,615",
|
|
"created": 1614534731.615288,
|
|
"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": 615.2880191802979,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1754.8143863677979,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,615",
|
|
"created": 1614534731.615436,
|
|
"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": 615.4360771179199,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1754.96244430542,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,615",
|
|
"created": 1614534731.615562,
|
|
"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": 615.5619621276855,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1755.0883293151855,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,615",
|
|
"created": 1614534731.615699,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 1 is correct (Content 2 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 615.699052810669,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1755.225419998169,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,615",
|
|
"created": 1614534731.6158311,
|
|
"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": 615.8311367034912,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1755.3575038909912,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,615",
|
|
"created": 1614534731.6159532,
|
|
"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": 615.9532070159912,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1755.4795742034912,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,616",
|
|
"created": 1614534731.6160758,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 2 is correct (Content 5 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 616.0757541656494,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1755.6021213531494,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"8",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,616",
|
|
"created": 1614534731.6162121,
|
|
"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": 616.2121295928955,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1755.7384967803955,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"8",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,616",
|
|
"created": 1614534731.616336,
|
|
"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": 616.3361072540283,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1755.8624744415283,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"8",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,616",
|
|
"created": 1614534731.6164613,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 3 is correct (Content 8 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 616.4612770080566,
|
|
"msg": "Submitted value number 3 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1755.9876441955566,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"11",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,616",
|
|
"created": 1614534731.6165867,
|
|
"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": 616.5866851806641,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1756.113052368164,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"11",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,616",
|
|
"created": 1614534731.6167088,
|
|
"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": 616.7087554931641,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1756.235122680664,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"11",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:11,616",
|
|
"created": 1614534731.6168315,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Submitted value number 4 is correct (Content 11 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 616.8315410614014,
|
|
"msg": "Submitted value number 4 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1756.3579082489014,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 616.9564723968506,
|
|
"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": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1756.4828395843506,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00012493133544921875
|
|
}
|
|
],
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.008249998092651367,
|
|
"time_finished": "2021-02-28 18:52:11,616",
|
|
"time_start": "2021-02-28 18:52:11,608"
|
|
},
|
|
"_fE3tMHczEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:09,941",
|
|
"created": 1614534729.9417665,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 29,
|
|
"message": "_fE3tMHczEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 941.7665004730225,
|
|
"msg": "_fE3tMHczEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 81.29286766052246,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:09,941",
|
|
"created": 1614534729.9419332,
|
|
"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": "2021-02-28 18:52:09,941",
|
|
"created": 1614534729.9418707,
|
|
"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": 941.8706893920898,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 81.39705657958984,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 941.9331550598145,
|
|
"msg": "Initialising state machine with state_a",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 81.45952224731445,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.246566772460938e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,942",
|
|
"created": 1614534729.942094,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:09,942",
|
|
"created": 1614534729.9420068,
|
|
"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": 942.0068264007568,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 81.53319358825684,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,942",
|
|
"created": 1614534729.942052,
|
|
"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": 942.051887512207,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 81.57825469970703,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 942.094087600708,
|
|
"msg": "Initial state after Initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 81.62045478820801,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.220008850097656e-05
|
|
},
|
|
{
|
|
"args": [
|
|
0.16
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,092",
|
|
"created": 1614534730.092567,
|
|
"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": "2021-02-28 18:52:10,092",
|
|
"created": 1614534730.0922835,
|
|
"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": 92.28348731994629,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 231.8098545074463,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 92.56696701049805,
|
|
"msg": "Waiting for %.3fs or state change",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 232.09333419799805,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002834796905517578
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,092",
|
|
"created": 1614534730.0928545,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:10,092",
|
|
"created": 1614534730.092754,
|
|
"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": 92.75388717651367,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 232.28025436401367,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 1st cycle",
|
|
"'state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,092",
|
|
"created": 1614534730.092807,
|
|
"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": 92.80705451965332,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 232.33342170715332,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 92.85449981689453,
|
|
"msg": "State after 1st cycle is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 232.38086700439453,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.744529724121094e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"0.150407075881958",
|
|
"0.145",
|
|
"0.155",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,093",
|
|
"created": 1614534730.0930288,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 220,
|
|
"message": "Transition time after 1st cycle is correct (Content 0.150407075881958 in [0.145 ... 0.155] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Transition time after 1st cycle",
|
|
"0.150407075881958",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,092",
|
|
"created": 1614534730.0929346,
|
|
"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.150407075881958 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 92.93460845947266,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 232.46097564697266,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Transition time after 1st cycle",
|
|
"0.145",
|
|
"0.155"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,092",
|
|
"created": 1614534730.092982,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 34,
|
|
"message": "Expectation (Transition time after 1st cycle): 0.145 <= result <= 0.155",
|
|
"module": "test",
|
|
"msecs": 92.98205375671387,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 232.50842094421387,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 93.02878379821777,
|
|
"msg": "Transition time after 1st cycle is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 232.55515098571777,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.673004150390625e-05
|
|
},
|
|
{
|
|
"args": [
|
|
0.235
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,318",
|
|
"created": 1614534730.3186703,
|
|
"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": "2021-02-28 18:52:10,318",
|
|
"created": 1614534730.3183937,
|
|
"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": 318.3937072753906,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 457.9200744628906,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 318.67027282714844,
|
|
"msg": "Waiting for %.3fs or state change",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 458.19664001464844,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002765655517578125
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,318",
|
|
"created": 1614534730.3188982,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:10,318",
|
|
"created": 1614534730.3187912,
|
|
"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": 318.79115104675293,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 458.31751823425293,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 2nd cycle",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,318",
|
|
"created": 1614534730.3188424,
|
|
"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": 318.84241104125977,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 458.36877822875977,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 318.89820098876953,
|
|
"msg": "State after 2nd cycle is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 458.42456817626953,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.5789947509765625e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"0.15027642250061035",
|
|
"0.145",
|
|
"0.155",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,319",
|
|
"created": 1614534730.3190732,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 220,
|
|
"message": "Transition time after 2nd cycle is correct (Content 0.15027642250061035 in [0.145 ... 0.155] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Transition time after 2nd cycle",
|
|
"0.15027642250061035",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,318",
|
|
"created": 1614534730.3189797,
|
|
"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.15027642250061035 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 318.97974014282227,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 458.50610733032227,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Transition time after 2nd cycle",
|
|
"0.145",
|
|
"0.155"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,319",
|
|
"created": 1614534730.3190267,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 34,
|
|
"message": "Expectation (Transition time after 2nd cycle): 0.145 <= result <= 0.155",
|
|
"module": "test",
|
|
"msecs": 319.0267086029053,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 458.5530757904053,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 319.0732002258301,
|
|
"msg": "Transition time after 2nd cycle is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 458.5995674133301,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.649162292480469e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"0.22556781768798828",
|
|
"0.21999999999999997",
|
|
"0.22999999999999998",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,319",
|
|
"created": 1614534730.31924,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 220,
|
|
"message": "Previous state duration is correct (Content 0.22556781768798828 in [0.21999999999999997 ... 0.22999999999999998] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Previous state duration",
|
|
"0.22556781768798828",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,319",
|
|
"created": 1614534730.319149,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Previous state duration): 0.22556781768798828 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 319.1490173339844,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 458.6753845214844,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Previous state duration",
|
|
"0.21999999999999997",
|
|
"0.22999999999999998"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,319",
|
|
"created": 1614534730.3191946,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 34,
|
|
"message": "Expectation (Previous state duration): 0.21999999999999997 <= result <= 0.22999999999999998",
|
|
"module": "test",
|
|
"msecs": 319.1945552825928,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 458.7209224700928,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 319.2400932312012,
|
|
"msg": "Previous state duration is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 458.7664604187012,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.553794860839844e-05
|
|
}
|
|
],
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.3774735927581787,
|
|
"time_finished": "2021-02-28 18:52:10,319",
|
|
"time_start": "2021-02-28 18:52:09,941"
|
|
},
|
|
"_iTFPQHcrEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:09,939",
|
|
"created": 1614534729.939567,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 25,
|
|
"message": "_iTFPQHcrEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 939.5670890808105,
|
|
"msg": "_iTFPQHcrEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.09345626831055,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:09,939",
|
|
"created": 1614534729.9397056,
|
|
"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": "2021-02-28 18:52:09,939",
|
|
"created": 1614534729.939647,
|
|
"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": 939.6469593048096,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.17332649230957,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 939.7056102752686,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_init.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.23197746276855,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.8650970458984375e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,939",
|
|
"created": 1614534729.9398606,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:09,939",
|
|
"created": 1614534729.939773,
|
|
"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": 939.7730827331543,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.2994499206543,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_1 stored in state_machine",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,939",
|
|
"created": 1614534729.9398174,
|
|
"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": 939.8174285888672,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.34379577636719,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 939.8605823516846,
|
|
"msg": "Keyword argument kw_arg_no_1 stored in state_machine is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.38694953918457,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.315376281738281e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'2'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,940",
|
|
"created": 1614534729.9400113,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:09,939",
|
|
"created": 1614534729.9399283,
|
|
"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": 939.9282932281494,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.45466041564941,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_2 stored in state_machine",
|
|
"'2'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,939",
|
|
"created": 1614534729.9399705,
|
|
"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": 939.9704933166504,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.49686050415039,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 940.0112628936768,
|
|
"msg": "Keyword argument kw_arg_no_2 stored in state_machine is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.53763008117676,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.076957702636719e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,940",
|
|
"created": 1614534729.9401617,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:09,940",
|
|
"created": 1614534729.9400795,
|
|
"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": 940.0794506072998,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.6058177947998,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_3 stored in state_machine",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,940",
|
|
"created": 1614534729.9401212,
|
|
"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": 940.1211738586426,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.64754104614258,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 940.1617050170898,
|
|
"msg": "Keyword argument kw_arg_no_3 stored in state_machine is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.68807220458984,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.0531158447265625e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"{'1': 1, '2': 'two'}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,940",
|
|
"created": 1614534729.940345,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:09,940",
|
|
"created": 1614534729.9402392,
|
|
"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": 940.2391910552979,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.76555824279785,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_4 stored in state_machine",
|
|
"{ '1': 1, '2': 'two' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,940",
|
|
"created": 1614534729.9402878,
|
|
"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": 940.2878284454346,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.81419563293457,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 940.345048904419,
|
|
"msg": "Keyword argument kw_arg_no_4 stored in state_machine is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.87141609191895,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.7220458984375e-05
|
|
}
|
|
],
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0007779598236083984,
|
|
"time_finished": "2021-02-28 18:52:09,940",
|
|
"time_start": "2021-02-28 18:52:09,939"
|
|
},
|
|
"_j2FvkHcqEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:09,938",
|
|
"created": 1614534729.9387178,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 23,
|
|
"message": "_j2FvkHcqEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 938.7178421020508,
|
|
"msg": "_j2FvkHcqEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.24420928955078,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:09,938",
|
|
"created": 1614534729.9388616,
|
|
"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": "2021-02-28 18:52:09,938",
|
|
"created": 1614534729.9388,
|
|
"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": 938.8000965118408,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.32646369934082,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 938.861608505249,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_init.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.38797569274902,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.151199340820312e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'__init__'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,939",
|
|
"created": 1614534729.9390213,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:09,938",
|
|
"created": 1614534729.9389324,
|
|
"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": 938.9324188232422,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.45878601074219,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Last transition condition after initialisation",
|
|
"'__init__'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,938",
|
|
"created": 1614534729.9389775,
|
|
"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": 938.9774799346924,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.50384712219238,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 939.0213489532471,
|
|
"msg": "Last transition condition after initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.54771614074707,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.38690185546875e-05
|
|
}
|
|
],
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00030350685119628906,
|
|
"time_finished": "2021-02-28 18:52:09,939",
|
|
"time_start": "2021-02-28 18:52:09,938"
|
|
},
|
|
"_tRZ50HcyEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:10,565",
|
|
"created": 1614534730.5655634,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 33,
|
|
"message": "_tRZ50HcyEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 565.563440322876,
|
|
"msg": "_tRZ50HcyEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 705.089807510376,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:10,566",
|
|
"created": 1614534730.566553,
|
|
"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": "2021-02-28 18:52:10,566",
|
|
"created": 1614534730.5661814,
|
|
"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": 566.1814212799072,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 705.7077884674072,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 566.5531158447266,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 706.0794830322266,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00037169456481933594
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,567",
|
|
"created": 1614534730.5676157,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:10,567",
|
|
"created": 1614534730.5670147,
|
|
"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": 567.0146942138672,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 706.5410614013672,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state()",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,567",
|
|
"created": 1614534730.5673199,
|
|
"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": 567.3198699951172,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 706.8462371826172,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 567.6157474517822,
|
|
"msg": "Returnvalue of this_state() is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 707.1421146392822,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00029587745666503906
|
|
}
|
|
],
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00205230712890625,
|
|
"time_finished": "2021-02-28 18:52:10,567",
|
|
"time_start": "2021-02-28 18:52:10,565"
|
|
},
|
|
"_vAtUQHcyEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:10,568",
|
|
"created": 1614534730.5684676,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 34,
|
|
"message": "_vAtUQHcyEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 568.4676170349121,
|
|
"msg": "_vAtUQHcyEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 707.9939842224121,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:10,569",
|
|
"created": 1614534730.5693662,
|
|
"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": "2021-02-28 18:52:10,568",
|
|
"created": 1614534730.568984,
|
|
"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": 568.9840316772461,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 708.5103988647461,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 569.3662166595459,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 708.8925838470459,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0003821849822998047
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,570",
|
|
"created": 1614534730.5704348,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:10,569",
|
|
"created": 1614534730.5698538,
|
|
"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": 569.8537826538086,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 709.3801498413086,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state_is(state_c)",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,570",
|
|
"created": 1614534730.5701509,
|
|
"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": 570.1508522033691,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 709.6772193908691,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 570.4348087310791,
|
|
"msg": "Returnvalue of this_state_is(state_c) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 709.9611759185791,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00028395652770996094
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,571",
|
|
"created": 1614534730.5712404,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:10,570",
|
|
"created": 1614534730.570879,
|
|
"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": 570.8789825439453,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 710.4053497314453,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state_is(state_b)",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,571",
|
|
"created": 1614534730.571067,
|
|
"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": 571.0670948028564,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 710.5934619903564,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 571.2404251098633,
|
|
"msg": "Returnvalue of this_state_is(state_b) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 710.7667922973633,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017333030700683594
|
|
}
|
|
],
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.002772808074951172,
|
|
"time_finished": "2021-02-28 18:52:10,571",
|
|
"time_start": "2021-02-28 18:52:10,568"
|
|
},
|
|
"_w49d4HcHEem_Z9BBpwIuJw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:09,938",
|
|
"created": 1614534729.9380715,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 22,
|
|
"message": "_w49d4HcHEem_Z9BBpwIuJw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 938.0714893341064,
|
|
"msg": "_w49d4HcHEem_Z9BBpwIuJw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 77.59785652160645,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:09,938",
|
|
"created": 1614534729.9383733,
|
|
"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": "2021-02-28 18:52:09,938",
|
|
"created": 1614534729.9382904,
|
|
"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": 938.2903575897217,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 77.81672477722168,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 938.373327255249,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_init.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 77.89969444274902,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 8.296966552734375e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,938",
|
|
"created": 1614534729.9385738,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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": "2021-02-28 18:52:09,938",
|
|
"created": 1614534729.938465,
|
|
"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": 938.4651184082031,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 77.99148559570312,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after initialisation",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:09,938",
|
|
"created": 1614534729.9385195,
|
|
"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": 938.5194778442383,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.04584503173828,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 938.5738372802734,
|
|
"msg": "State after initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.10020446777344,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.435943603515625e-05
|
|
}
|
|
],
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0005023479461669922,
|
|
"time_finished": "2021-02-28 18:52:09,938",
|
|
"time_start": "2021-02-28 18:52:09,938"
|
|
},
|
|
"_yVA9oHcyEemrUqotql_Blw": {
|
|
"args": null,
|
|
"asctime": "2021-02-28 18:52:10,571",
|
|
"created": 1614534730.5718074,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 35,
|
|
"message": "_yVA9oHcyEemrUqotql_Blw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 571.8073844909668,
|
|
"msg": "_yVA9oHcyEemrUqotql_Blw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 711.3337516784668,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2021-02-28 18:52:10,823",
|
|
"created": 1614534730.8235755,
|
|
"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": "2021-02-28 18:52:10,572",
|
|
"created": 1614534730.572137,
|
|
"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": 572.1371173858643,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 711.6634845733643,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,572",
|
|
"created": 1614534730.5724704,
|
|
"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": 572.4704265594482,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "root.state_machine",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 711.9967937469482,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.25
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,823",
|
|
"created": 1614534730.823201,
|
|
"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": 823.2009410858154,
|
|
"msg": "Waiting for %.2fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 962.7273082733154,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 823.575496673584,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 963.101863861084,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0003745555877685547
|
|
},
|
|
{
|
|
"args": [
|
|
"0.2513155937194824",
|
|
"0.2",
|
|
"0.3",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,824",
|
|
"created": 1614534730.8244288,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 220,
|
|
"message": "Return Value of this_state_duration() is correct (Content 0.2513155937194824 in [0.2 ... 0.3] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return Value of this_state_duration()",
|
|
"0.2513155937194824",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,824",
|
|
"created": 1614534730.8240232,
|
|
"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.2513155937194824 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 824.0232467651367,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 963.5496139526367,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value of this_state_duration()",
|
|
"0.2",
|
|
"0.3"
|
|
],
|
|
"asctime": "2021-02-28 18:52:10,824",
|
|
"created": 1614534730.8242373,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 34,
|
|
"message": "Expectation (Return Value of this_state_duration()): 0.2 <= result <= 0.3",
|
|
"module": "test",
|
|
"msecs": 824.2373466491699,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 963.7637138366699,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 824.4287967681885,
|
|
"msg": "Return Value of this_state_duration() is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/usr/data/dirk/prj/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 63753,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 963.9551639556885,
|
|
"stack_info": null,
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001914501190185547
|
|
}
|
|
],
|
|
"thread": 140530385475392,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.2526214122772217,
|
|
"time_finished": "2021-02-28 18:52:10,824",
|
|
"time_start": "2021-02-28 18:52:10,571"
|
|
}
|
|
},
|
|
"testrun_id": "p3",
|
|
"time_consumption": 1.6740763187408447,
|
|
"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"
|
|
}
|
|
} |