10213 lines
594 KiB
JSON
10213 lines
594 KiB
JSON
{
|
|
"coverage_information": [
|
|
{
|
|
"branch_coverage": 100.0,
|
|
"filepath": "/home/dirk/my_repositories/unittest/state_machine/pylibs/state_machine",
|
|
"files": [
|
|
{
|
|
"branch_coverage": 100.0,
|
|
"filepath": "/home/dirk/my_repositories/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": 43,
|
|
"start": 40
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 45,
|
|
"start": 44
|
|
},
|
|
{
|
|
"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": {
|
|
"entries": {
|
|
"REQ-0001": {
|
|
"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",
|
|
"reason": "Triggering state change actions for a specific transition condition and targetstate."
|
|
},
|
|
"REQ-0002": {
|
|
"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",
|
|
"reason": "Triggering state change actions for a specific transition condition."
|
|
},
|
|
"REQ-0003": {
|
|
"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",
|
|
"reason": "Triggering state change actions for a specific targetstate."
|
|
},
|
|
"REQ-0004": {
|
|
"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",
|
|
"reason": "Triggering state change actions for all transition conditions and targetstates."
|
|
},
|
|
"REQ-0005": {
|
|
"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",
|
|
"reason": "Creation of a defined state after initialisation."
|
|
},
|
|
"REQ-0006": {
|
|
"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",
|
|
"reason": "Creation of a defined state after initialisation."
|
|
},
|
|
"REQ-0007": {
|
|
"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",
|
|
"reason": "Creation of a defined state after initialisation."
|
|
},
|
|
"REQ-0008": {
|
|
"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",
|
|
"reason": "Store further information (e.g. for calculation of the transition conditions)."
|
|
},
|
|
"REQ-0009": {
|
|
"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",
|
|
"reason": "Comfortable user interface."
|
|
},
|
|
"REQ-0010": {
|
|
"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",
|
|
"reason": "Comfortable user interface."
|
|
},
|
|
"REQ-0011": {
|
|
"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",
|
|
"reason": "Comfortable user interface."
|
|
},
|
|
"REQ-0012": {
|
|
"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",
|
|
"reason": "Comfortable user interface."
|
|
},
|
|
"REQ-0013": {
|
|
"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",
|
|
"reason": "Comfortable user interface."
|
|
},
|
|
"REQ-0014": {
|
|
"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",
|
|
"reason": "Comfortable user interface."
|
|
},
|
|
"REQ-0015": {
|
|
"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",
|
|
"reason": "Comfortable user interface."
|
|
},
|
|
"REQ-0016": {
|
|
"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",
|
|
"reason": "Comfortable user interface."
|
|
},
|
|
"REQ-0017": {
|
|
"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",
|
|
"reason": "Definition of the transitions for a state machine."
|
|
},
|
|
"REQ-0018": {
|
|
"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",
|
|
"reason": "Robustness of the state changes (e.g. Oscillating conditions shall be ignored)."
|
|
},
|
|
"REQ-0019": {
|
|
"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",
|
|
"reason": "Compensate the weakness of the execution quantisation."
|
|
},
|
|
"REQ-0020": {
|
|
"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",
|
|
"reason": "User shall have the control about the execution order."
|
|
},
|
|
"SEC-0001": {
|
|
"childs": [
|
|
"REQ-0005",
|
|
"REQ-0006",
|
|
"REQ-0007",
|
|
"REQ-0008"
|
|
],
|
|
"heading": "Module Initialisation"
|
|
},
|
|
"SEC-0002": {
|
|
"childs": [
|
|
"REQ-0017",
|
|
"REQ-0018",
|
|
"REQ-0019"
|
|
],
|
|
"heading": "Transition Changes"
|
|
},
|
|
"SEC-0003": {
|
|
"childs": [
|
|
"REQ-0009",
|
|
"REQ-0010",
|
|
"REQ-0011",
|
|
"REQ-0012",
|
|
"REQ-0013",
|
|
"REQ-0014",
|
|
"REQ-0015",
|
|
"REQ-0016"
|
|
],
|
|
"heading": "Module Interface"
|
|
},
|
|
"SEC-0004": {
|
|
"childs": [
|
|
"REQ-0001",
|
|
"REQ-0002",
|
|
"REQ-0003",
|
|
"REQ-0004",
|
|
"REQ-0020"
|
|
],
|
|
"heading": "Transition Callbacks"
|
|
}
|
|
},
|
|
"sections": [
|
|
"SEC-0001",
|
|
"SEC-0002",
|
|
"SEC-0003",
|
|
"SEC-0004"
|
|
],
|
|
"title": "State Machine Module"
|
|
},
|
|
"system_information": {
|
|
"Architecture": "64bit",
|
|
"Distribution": "Debian GNU/Linux 12 bookworm",
|
|
"Hostname": "ahorn",
|
|
"Kernel": "6.1.0-17-amd64 (#1 SMP PREEMPT_DYNAMIC Debian 6.1.69-1 (2023-12-30))",
|
|
"Machine": "x86_64",
|
|
"Path": "/home/dirk/my_repositories/unittest/state_machine",
|
|
"System": "Linux",
|
|
"Username": "dirk"
|
|
},
|
|
"testobject_information": {
|
|
"Dependencies": [],
|
|
"Description": "This Module helps implementing state machines.",
|
|
"Name": "state_machine",
|
|
"State": "Released",
|
|
"Supported Interpreters": "python3",
|
|
"Version": "f41932a9f577e5485b47049c17da104d"
|
|
},
|
|
"testrun_list": [
|
|
{
|
|
"heading_dict": {},
|
|
"interpreter": "python 3.11.2 (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": {
|
|
"REQ-0001": {
|
|
"args": null,
|
|
"asctime": "2025-03-23 14:39:29,939",
|
|
"created": 1742737169.9397721,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 323,
|
|
"message": "REQ-0001",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 939.0,
|
|
"msg": "REQ-0001",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/report/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1682.0564270019531,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:29,943",
|
|
"created": 1742737169.9430058,
|
|
"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": "2025-03-23 14:39:29,940",
|
|
"created": 1742737169.9401224,
|
|
"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.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1682.4066638946533,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,940",
|
|
"created": 1742737169.9403877,
|
|
"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": 940.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1682.6720237731934,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,940",
|
|
"created": 1742737169.940769,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 940.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1683.0532550811768,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,940",
|
|
"created": 1742737169.9409635,
|
|
"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": 940.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1683.2478046417236,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,941",
|
|
"created": 1742737169.9411242,
|
|
"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": 941.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1683.408498764038,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,941",
|
|
"created": 1742737169.9412892,
|
|
"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": 941.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1683.5734844207764,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,941",
|
|
"created": 1742737169.9414454,
|
|
"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": 941.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1683.729648590088,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,941",
|
|
"created": 1742737169.9416018,
|
|
"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": 941.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1683.8860511779785,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,941",
|
|
"created": 1742737169.941796,
|
|
"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": 941.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1684.0803623199463,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,941",
|
|
"created": 1742737169.941972,
|
|
"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": 941.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1684.2563152313232,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,942",
|
|
"created": 1742737169.9422555,
|
|
"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": 942.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1684.539794921875,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,942",
|
|
"created": 1742737169.942559,
|
|
"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": 942.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1684.8433017730713,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,942",
|
|
"created": 1742737169.9428267,
|
|
"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": 942.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1685.1110458374023,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 943.0,
|
|
"msg": "Running state machine sequence and storing sequence number for each callback",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1685.2900981903076,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017905235290527344
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:29,944",
|
|
"created": 1742737169.9442425,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 254,
|
|
"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": "2025-03-23 14:39:29,943",
|
|
"created": 1742737169.9433901,
|
|
"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": 943.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1685.6744289398193,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (state_b, condition_a) identified by a sequence number",
|
|
"=",
|
|
"[ 1 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,943",
|
|
"created": 1742737169.9435806,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"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": 943.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1685.8649253845215,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,943",
|
|
"created": 1742737169.9437594,
|
|
"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": 943.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1686.0437393188477,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"=",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,943",
|
|
"created": 1742737169.9439144,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 1 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 943.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1686.1987113952637,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,944",
|
|
"created": 1742737169.9440928,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 1 is correct (Content 1 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 944.0,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1686.3770484924316,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 944.0,
|
|
"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": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1686.5267753601074,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00014972686767578125
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:29,945",
|
|
"created": 1742737169.9452927,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 254,
|
|
"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": "2025-03-23 14:39:29,944",
|
|
"created": 1742737169.944508,
|
|
"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": 944.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1686.7923736572266,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (state_b, condition_a) identified by a sequence number",
|
|
"=",
|
|
"[ 2 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,944",
|
|
"created": 1742737169.9446814,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"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": 944.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1686.9657039642334,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,944",
|
|
"created": 1742737169.944847,
|
|
"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": 944.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1687.131404876709,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"=",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,944",
|
|
"created": 1742737169.9449975,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 2 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 944.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1687.281847000122,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,945",
|
|
"created": 1742737169.9451492,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 1 is correct (Content 2 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 945.0,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1687.4334812164307,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 945.0,
|
|
"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": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1687.5770092010498,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00014352798461914062
|
|
}
|
|
],
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00552058219909668,
|
|
"time_finished": "2025-03-23 14:39:29,945",
|
|
"time_start": "2025-03-23 14:39:29,939"
|
|
},
|
|
"REQ-0002": {
|
|
"args": null,
|
|
"asctime": "2025-03-23 14:39:29,945",
|
|
"created": 1742737169.945793,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 323,
|
|
"message": "REQ-0002",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 945.0,
|
|
"msg": "REQ-0002",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/report/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1688.0772113800049,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:29,949",
|
|
"created": 1742737169.9491322,
|
|
"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": "2025-03-23 14:39:29,946",
|
|
"created": 1742737169.9461272,
|
|
"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": 946.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1688.4114742279053,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,946",
|
|
"created": 1742737169.9463801,
|
|
"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": 946.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1688.664436340332,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,946",
|
|
"created": 1742737169.946612,
|
|
"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": 946.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1688.8961791992188,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,946",
|
|
"created": 1742737169.946796,
|
|
"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": 946.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1689.0802383422852,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,947",
|
|
"created": 1742737169.9470057,
|
|
"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": 947.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1689.2900466918945,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,947",
|
|
"created": 1742737169.9471948,
|
|
"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": 947.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1689.479112625122,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,947",
|
|
"created": 1742737169.9473479,
|
|
"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": 947.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1689.6321773529053,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,947",
|
|
"created": 1742737169.9475155,
|
|
"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": 947.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1689.7997856140137,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,947",
|
|
"created": 1742737169.9476616,
|
|
"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": 947.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1689.945936203003,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,947",
|
|
"created": 1742737169.947827,
|
|
"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": 947.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1690.1113986968994,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,948",
|
|
"created": 1742737169.9480186,
|
|
"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": 948.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1690.302848815918,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,948",
|
|
"created": 1742737169.9481838,
|
|
"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": 948.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1690.4680728912354,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,948",
|
|
"created": 1742737169.9483318,
|
|
"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": 948.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1690.6161308288574,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,948",
|
|
"created": 1742737169.948481,
|
|
"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": 948.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1690.765380859375,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
7
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,948",
|
|
"created": 1742737169.9486248,
|
|
"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": 948.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1690.9091472625732,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
8
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,948",
|
|
"created": 1742737169.948778,
|
|
"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": 948.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1691.0622119903564,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,948",
|
|
"created": 1742737169.9489598,
|
|
"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": 948.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1691.244125366211,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 949.0,
|
|
"msg": "Running state machine sequence and storing sequence number for each callback",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1691.4165019989014,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001723766326904297
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:29,950",
|
|
"created": 1742737169.9507656,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 254,
|
|
"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": "2025-03-23 14:39:29,949",
|
|
"created": 1742737169.9494317,
|
|
"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": 949.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1691.715955734253,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (all_transitions, condition_b) identified by a sequence number",
|
|
"=",
|
|
"[ 2, 5 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,949",
|
|
"created": 1742737169.949613,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"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": 949.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1691.8973922729492,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,949",
|
|
"created": 1742737169.949786,
|
|
"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": 949.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1692.0702457427979,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"=",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,949",
|
|
"created": 1742737169.94994,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 2 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 949.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1692.2242641448975,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,950",
|
|
"created": 1742737169.9501338,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 1 is correct (Content 2 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 950.0,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1692.418098449707,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,950",
|
|
"created": 1742737169.9503086,
|
|
"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": 950.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1692.5928592681885,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"=",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,950",
|
|
"created": 1742737169.950463,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 5 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 950.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1692.7473545074463,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,950",
|
|
"created": 1742737169.9506214,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 2 is correct (Content 5 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 950.0,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1692.9056644439697,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 950.0,
|
|
"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": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1693.0499076843262,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001442432403564453
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:29,952",
|
|
"created": 1742737169.9522855,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 254,
|
|
"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": "2025-03-23 14:39:29,951",
|
|
"created": 1742737169.951041,
|
|
"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": 951.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1693.3252811431885,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (all_transitions, condition_b) identified by a sequence number",
|
|
"=",
|
|
"[ 3, 6 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,951",
|
|
"created": 1742737169.9512148,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"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": 951.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1693.4990882873535,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"3",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,951",
|
|
"created": 1742737169.95138,
|
|
"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": 951.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1693.664312362671,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"=",
|
|
"3",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,951",
|
|
"created": 1742737169.9515305,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 3 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 951.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1693.814754486084,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"3",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,951",
|
|
"created": 1742737169.9516814,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 1 is correct (Content 3 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 951.0,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1693.9656734466553,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,951",
|
|
"created": 1742737169.9518356,
|
|
"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": 951.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1694.119930267334,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"=",
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,951",
|
|
"created": 1742737169.9519837,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 6 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 951.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1694.267988204956,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,952",
|
|
"created": 1742737169.9521418,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 2 is correct (Content 6 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 952.0,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1694.4260597229004,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 952.0,
|
|
"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": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1694.5698261260986,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001437664031982422
|
|
}
|
|
],
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00649261474609375,
|
|
"time_finished": "2025-03-23 14:39:29,952",
|
|
"time_start": "2025-03-23 14:39:29,945"
|
|
},
|
|
"REQ-0003": {
|
|
"args": null,
|
|
"asctime": "2025-03-23 14:39:29,952",
|
|
"created": 1742737169.9527857,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 323,
|
|
"message": "REQ-0003",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 952.0,
|
|
"msg": "REQ-0003",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/report/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1695.0700283050537,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:29,956",
|
|
"created": 1742737169.9561436,
|
|
"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": "2025-03-23 14:39:29,953",
|
|
"created": 1742737169.9530828,
|
|
"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": 953.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1695.3670978546143,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,953",
|
|
"created": 1742737169.9533098,
|
|
"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": 953.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1695.594072341919,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,953",
|
|
"created": 1742737169.953537,
|
|
"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": 953.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1695.8212852478027,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,953",
|
|
"created": 1742737169.9537132,
|
|
"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": 953.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1695.9974765777588,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,953",
|
|
"created": 1742737169.9538677,
|
|
"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": 953.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1696.1519718170166,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,954",
|
|
"created": 1742737169.9540234,
|
|
"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": 954.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1696.30765914917,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,954",
|
|
"created": 1742737169.9542623,
|
|
"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": 954.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1696.5465545654297,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,954",
|
|
"created": 1742737169.9544268,
|
|
"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": 954.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1696.7110633850098,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,954",
|
|
"created": 1742737169.9546258,
|
|
"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": 954.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1696.9101428985596,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,954",
|
|
"created": 1742737169.9548023,
|
|
"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": 954.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1697.0865726470947,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,954",
|
|
"created": 1742737169.9549897,
|
|
"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": 954.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1697.2739696502686,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,955",
|
|
"created": 1742737169.9551558,
|
|
"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": 955.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1697.4401473999023,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,955",
|
|
"created": 1742737169.955316,
|
|
"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": 955.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1697.6003646850586,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,955",
|
|
"created": 1742737169.9554665,
|
|
"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": 955.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1697.7508068084717,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
7
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,955",
|
|
"created": 1742737169.955612,
|
|
"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": 955.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1697.8962421417236,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
8
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,955",
|
|
"created": 1742737169.9557803,
|
|
"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": 955.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1698.0645656585693,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,955",
|
|
"created": 1742737169.955969,
|
|
"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": 955.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1698.2533931732178,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 956.0,
|
|
"msg": "Running state machine sequence and storing sequence number for each callback",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1698.4279155731201,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017452239990234375
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:29,957",
|
|
"created": 1742737169.9577148,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 254,
|
|
"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": "2025-03-23 14:39:29,956",
|
|
"created": 1742737169.9564483,
|
|
"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": 956.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1698.732614517212,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (state_b, all_conditions) identified by a sequence number",
|
|
"=",
|
|
"[ 1, 5 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,956",
|
|
"created": 1742737169.9566293,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"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": 956.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1698.91357421875,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,956",
|
|
"created": 1742737169.9568005,
|
|
"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": 956.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1699.084758758545,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"=",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,956",
|
|
"created": 1742737169.9569523,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 1 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 956.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1699.2366313934326,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,957",
|
|
"created": 1742737169.9571145,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 1 is correct (Content 1 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 957.0,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1699.3987560272217,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,957",
|
|
"created": 1742737169.957274,
|
|
"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": 957.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1699.5582580566406,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"=",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,957",
|
|
"created": 1742737169.9574232,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 5 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 957.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1699.7075080871582,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,957",
|
|
"created": 1742737169.9575727,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 2 is correct (Content 5 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 957.0,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1699.8569965362549,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 957.0,
|
|
"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": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1699.9990940093994,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00014209747314453125
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:29,959",
|
|
"created": 1742737169.9592757,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 254,
|
|
"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": "2025-03-23 14:39:29,957",
|
|
"created": 1742737169.9579787,
|
|
"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": 957.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1700.2630233764648,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (state_b, all_conditions) identified by a sequence number",
|
|
"=",
|
|
"[ 2, 6 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,958",
|
|
"created": 1742737169.9582026,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"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": 958.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1700.4868984222412,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,958",
|
|
"created": 1742737169.9583724,
|
|
"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": 958.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1700.6566524505615,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"=",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,958",
|
|
"created": 1742737169.9585323,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 2 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 958.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1700.8166313171387,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,958",
|
|
"created": 1742737169.9586837,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 1 is correct (Content 2 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 958.0,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1700.9680271148682,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,958",
|
|
"created": 1742737169.9588366,
|
|
"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": 958.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1701.1208534240723,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"=",
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,958",
|
|
"created": 1742737169.9589853,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 6 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 958.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1701.2696266174316,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,959",
|
|
"created": 1742737169.9591336,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 2 is correct (Content 6 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 959.0,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1701.4179229736328,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 959.0,
|
|
"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": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1701.5600204467773,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00014209747314453125
|
|
}
|
|
],
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.006489992141723633,
|
|
"time_finished": "2025-03-23 14:39:29,959",
|
|
"time_start": "2025-03-23 14:39:29,952"
|
|
},
|
|
"REQ-0004": {
|
|
"args": null,
|
|
"asctime": "2025-03-23 14:39:29,959",
|
|
"created": 1742737169.9597719,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 323,
|
|
"message": "REQ-0004",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 959.0,
|
|
"msg": "REQ-0004",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/report/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1702.0561695098877,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:29,964",
|
|
"created": 1742737169.9642699,
|
|
"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": "2025-03-23 14:39:29,960",
|
|
"created": 1742737169.9600646,
|
|
"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": 960.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1702.3489475250244,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,960",
|
|
"created": 1742737169.9603083,
|
|
"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": 960.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1702.5926113128662,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,960",
|
|
"created": 1742737169.9605346,
|
|
"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": 960.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1702.8188705444336,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,960",
|
|
"created": 1742737169.9607093,
|
|
"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": 960.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1702.993631362915,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,960",
|
|
"created": 1742737169.9608715,
|
|
"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": 960.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.155755996704,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,961",
|
|
"created": 1742737169.9610257,
|
|
"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": 961.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.3100128173828,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,961",
|
|
"created": 1742737169.9611738,
|
|
"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": 961.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.4580707550049,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,961",
|
|
"created": 1742737169.961343,
|
|
"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": 961.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.627347946167,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,961",
|
|
"created": 1742737169.9615393,
|
|
"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": 961.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.8235664367676,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,961",
|
|
"created": 1742737169.9617078,
|
|
"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": 961.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.9921283721924,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,961",
|
|
"created": 1742737169.9618573,
|
|
"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": 961.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.141616821289,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,962",
|
|
"created": 1742737169.9620154,
|
|
"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": 962.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.2996883392334,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,962",
|
|
"created": 1742737169.9621973,
|
|
"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": 962.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.481601715088,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
7
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,962",
|
|
"created": 1742737169.9623532,
|
|
"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": 962.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.6375274658203,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,962",
|
|
"created": 1742737169.9625375,
|
|
"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": 962.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.8218250274658,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,962",
|
|
"created": 1742737169.9627028,
|
|
"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": 962.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.9870491027832,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
8
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,962",
|
|
"created": 1742737169.9628475,
|
|
"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": 962.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.1317691802979,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,962",
|
|
"created": 1742737169.9629955,
|
|
"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": 962.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.27982711792,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
9
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,963",
|
|
"created": 1742737169.963139,
|
|
"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": 963.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.423355102539,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
10
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,963",
|
|
"created": 1742737169.9632907,
|
|
"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": 963.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.5749893188477,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,963",
|
|
"created": 1742737169.9634721,
|
|
"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": 963.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.756425857544,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,963",
|
|
"created": 1742737169.9636364,
|
|
"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": 963.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.920696258545,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
11
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,963",
|
|
"created": 1742737169.963783,
|
|
"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": 963.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.0673236846924,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,963",
|
|
"created": 1742737169.963941,
|
|
"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": 963.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.2253952026367,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
12
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,964",
|
|
"created": 1742737169.9640968,
|
|
"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": 964.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.38108253479,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 964.0,
|
|
"msg": "Running state machine sequence and storing sequence number for each callback",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.5541744232178,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017309188842773438
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:29,966",
|
|
"created": 1742737169.9668157,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 254,
|
|
"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": "2025-03-23 14:39:29,964",
|
|
"created": 1742737169.9645896,
|
|
"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": 964.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.873893737793,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"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": "2025-03-23 14:39:29,964",
|
|
"created": 1742737169.9647753,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"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": 964.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.059621810913,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,964",
|
|
"created": 1742737169.964948,
|
|
"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": 964.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.2322368621826,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"=",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,965",
|
|
"created": 1742737169.9651008,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 1 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 965.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.3850631713867,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,965",
|
|
"created": 1742737169.9652538,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 1 is correct (Content 1 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 965.0,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.53812789917,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"4",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,965",
|
|
"created": 1742737169.9654102,
|
|
"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": 965.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.6945304870605,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"=",
|
|
"4",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,965",
|
|
"created": 1742737169.9655566,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 4 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 965.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.840919494629,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"4",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,965",
|
|
"created": 1742737169.9657066,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 2 is correct (Content 4 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 965.0,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.9908847808838,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"7",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,965",
|
|
"created": 1742737169.9658582,
|
|
"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": 965.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.1425189971924,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"=",
|
|
"7",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,966",
|
|
"created": 1742737169.9660056,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 3): result = 7 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 966.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.2898616790771,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"7",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,966",
|
|
"created": 1742737169.9661987,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 3 is correct (Content 7 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 966.0,
|
|
"msg": "Submitted value number 3 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.4829807281494,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"10",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,966",
|
|
"created": 1742737169.9663684,
|
|
"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": 966.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.6527347564697,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"=",
|
|
"10",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,966",
|
|
"created": 1742737169.9665153,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 4): result = 10 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 966.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.7996006011963,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"10",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,966",
|
|
"created": 1742737169.9666638,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 4 is correct (Content 10 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 966.0,
|
|
"msg": "Submitted value number 4 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.9481353759766,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 966.0,
|
|
"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": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.1000080108643,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001518726348876953
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:29,969",
|
|
"created": 1742737169.9692187,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 254,
|
|
"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": "2025-03-23 14:39:29,967",
|
|
"created": 1742737169.967118,
|
|
"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": 967.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.402322769165,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"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": "2025-03-23 14:39:29,967",
|
|
"created": 1742737169.9672987,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"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": 967.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.583044052124,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,967",
|
|
"created": 1742737169.9674637,
|
|
"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": 967.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.7480297088623,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"=",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,967",
|
|
"created": 1742737169.967614,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 2 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 967.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.8982334136963,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,967",
|
|
"created": 1742737169.9677637,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 1 is correct (Content 2 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 967.0,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1710.047960281372,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,967",
|
|
"created": 1742737169.9679177,
|
|
"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": 967.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1710.2019786834717,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"=",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,968",
|
|
"created": 1742737169.9680674,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 5 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 968.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1710.3517055511475,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,968",
|
|
"created": 1742737169.9682157,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 2 is correct (Content 5 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 968.0,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1710.5000019073486,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"8",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,968",
|
|
"created": 1742737169.968379,
|
|
"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": 968.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1710.6633186340332,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"=",
|
|
"8",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,968",
|
|
"created": 1742737169.9685333,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 3): result = 8 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 968.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1710.817575454712,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"8",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,968",
|
|
"created": 1742737169.9687016,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 3 is correct (Content 8 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 968.0,
|
|
"msg": "Submitted value number 3 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1710.9858989715576,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"11",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,968",
|
|
"created": 1742737169.9688358,
|
|
"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": 968.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1711.1201286315918,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"=",
|
|
"11",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,968",
|
|
"created": 1742737169.9689648,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 4): result = 11 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 968.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1711.2491130828857,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"11",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,969",
|
|
"created": 1742737169.9690952,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 4 is correct (Content 11 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 969.0,
|
|
"msg": "Submitted value number 4 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1711.3795280456543,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 969.0,
|
|
"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": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1711.503028869629,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00012350082397460938
|
|
}
|
|
],
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.009446859359741211,
|
|
"time_finished": "2025-03-23 14:39:29,969",
|
|
"time_start": "2025-03-23 14:39:29,959"
|
|
},
|
|
"REQ-0005": {
|
|
"args": null,
|
|
"asctime": "2025-03-23 14:39:28,296",
|
|
"created": 1742737168.2965055,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 323,
|
|
"message": "REQ-0005",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 296.0,
|
|
"msg": "REQ-0005",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/report/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 38.78974914550781,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:28,296",
|
|
"created": 1742737168.296687,
|
|
"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": "2025-03-23 14:39:28,296",
|
|
"created": 1742737168.2966418,
|
|
"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": 296.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 38.926124572753906,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 296.0,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_init.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 38.9711856842041,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.506111145019531e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,296",
|
|
"created": 1742737168.2968173,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"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": "2025-03-23 14:39:28,296",
|
|
"created": 1742737168.296747,
|
|
"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": 296.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.031267166137695,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after initialisation",
|
|
"=",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,296",
|
|
"created": 1742737168.2967806,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after initialisation): result = 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 296.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.064884185791016,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 296.0,
|
|
"msg": "State after initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.101600646972656,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.6716461181640625e-05
|
|
}
|
|
],
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00031185150146484375,
|
|
"time_finished": "2025-03-23 14:39:28,296",
|
|
"time_start": "2025-03-23 14:39:28,296"
|
|
},
|
|
"REQ-0006": {
|
|
"args": null,
|
|
"asctime": "2025-03-23 14:39:28,296",
|
|
"created": 1742737168.2969162,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 323,
|
|
"message": "REQ-0006",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 296.0,
|
|
"msg": "REQ-0006",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/report/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.200544357299805,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:28,297",
|
|
"created": 1742737168.2970107,
|
|
"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": "2025-03-23 14:39:28,296",
|
|
"created": 1742737168.2969737,
|
|
"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": 296.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.25800323486328,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 297.0,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_init.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.29495811462402,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.695487976074219e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'__init__'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,297",
|
|
"created": 1742737168.2971146,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"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": "2025-03-23 14:39:28,297",
|
|
"created": 1742737168.297057,
|
|
"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": 297.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.34121131896973,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Last transition condition after initialisation",
|
|
"=",
|
|
"'__init__'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,297",
|
|
"created": 1742737168.2970862,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Last transition condition after initialisation): result = '__init__' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 297.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.37053680419922,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 297.0,
|
|
"msg": "Last transition condition after initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.398908615112305,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 2.8371810913085938e-05
|
|
}
|
|
],
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001983642578125,
|
|
"time_finished": "2025-03-23 14:39:28,297",
|
|
"time_start": "2025-03-23 14:39:28,296"
|
|
},
|
|
"REQ-0007": {
|
|
"args": null,
|
|
"asctime": "2025-03-23 14:39:28,297",
|
|
"created": 1742737168.2971947,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 323,
|
|
"message": "REQ-0007",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 297.0,
|
|
"msg": "REQ-0007",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/report/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.47901725769043,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:28,297",
|
|
"created": 1742737168.2972767,
|
|
"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": "2025-03-23 14:39:28,297",
|
|
"created": 1742737168.297245,
|
|
"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": 297.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.52932357788086,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 297.0,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_init.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.56103324890137,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.170967102050781e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,297",
|
|
"created": 1742737168.2973785,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"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": "2025-03-23 14:39:28,297",
|
|
"created": 1742737168.297322,
|
|
"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": 297.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.606332778930664,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Last state after initialisation",
|
|
"=",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,297",
|
|
"created": 1742737168.297351,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Last state after initialisation): result = None (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 297.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.63518142700195,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 297.0,
|
|
"msg": "Last state after initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.662837982177734,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 2.765655517578125e-05
|
|
}
|
|
],
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001838207244873047,
|
|
"time_finished": "2025-03-23 14:39:28,297",
|
|
"time_start": "2025-03-23 14:39:28,297"
|
|
},
|
|
"REQ-0008": {
|
|
"args": null,
|
|
"asctime": "2025-03-23 14:39:28,297",
|
|
"created": 1742737168.2974596,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 323,
|
|
"message": "REQ-0008",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 297.0,
|
|
"msg": "REQ-0008",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/report/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.743900299072266,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:28,297",
|
|
"created": 1742737168.2975488,
|
|
"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": "2025-03-23 14:39:28,297",
|
|
"created": 1742737168.2975135,
|
|
"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": 297.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.79778289794922,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 297.0,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_init.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.83306884765625,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.528594970703125e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,297",
|
|
"created": 1742737168.2976515,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"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": "2025-03-23 14:39:28,297",
|
|
"created": 1742737168.2975924,
|
|
"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": 297.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.876699447631836,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_1 stored in state_machine",
|
|
"=",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,297",
|
|
"created": 1742737168.2976227,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"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": 297.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.906978607177734,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 297.0,
|
|
"msg": "Keyword argument kw_arg_no_1 stored in state_machine is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.93582725524902,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 2.8848648071289062e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'2'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,297",
|
|
"created": 1742737168.2977505,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"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": "2025-03-23 14:39:28,297",
|
|
"created": 1742737168.2976944,
|
|
"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": 297.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 39.978742599487305,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_2 stored in state_machine",
|
|
"=",
|
|
"'2'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,297",
|
|
"created": 1742737168.297722,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"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": 297.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.006399154663086,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 297.0,
|
|
"msg": "Keyword argument kw_arg_no_2 stored in state_machine is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.03477096557617,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 2.8371810913085938e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,297",
|
|
"created": 1742737168.297851,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"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": "2025-03-23 14:39:28,297",
|
|
"created": 1742737168.297793,
|
|
"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": 297.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.07720947265625,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_3 stored in state_machine",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,297",
|
|
"created": 1742737168.2978232,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"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": 297.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.10748863220215,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 297.0,
|
|
"msg": "Keyword argument kw_arg_no_3 stored in state_machine is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.13538360595703,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 2.7894973754882812e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"{'1': 1, '2': 'two'}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,297",
|
|
"created": 1742737168.2979708,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"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": "2025-03-23 14:39:28,297",
|
|
"created": 1742737168.2978988,
|
|
"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": 297.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.183067321777344,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_4 stored in state_machine",
|
|
"=",
|
|
"{ '1': 1, '2': 'two' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,297",
|
|
"created": 1742737168.2979298,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"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": 297.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.21406173706055,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 297.0,
|
|
"msg": "Keyword argument kw_arg_no_4 stored in state_machine is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.255069732666016,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.100799560546875e-05
|
|
}
|
|
],
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00051116943359375,
|
|
"time_finished": "2025-03-23 14:39:28,297",
|
|
"time_start": "2025-03-23 14:39:28,297"
|
|
},
|
|
"REQ-0009": {
|
|
"args": null,
|
|
"asctime": "2025-03-23 14:39:28,921",
|
|
"created": 1742737168.9212153,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 323,
|
|
"message": "REQ-0009",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 921.0,
|
|
"msg": "REQ-0009",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/report/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 663.4995937347412,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:28,921",
|
|
"created": 1742737168.921743,
|
|
"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": "2025-03-23 14:39:28,921",
|
|
"created": 1742737168.921537,
|
|
"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": 921.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 663.8212203979492,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 921.0,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 664.027214050293,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00020599365234375
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,922",
|
|
"created": 1742737168.9223623,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"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": "2025-03-23 14:39:28,921",
|
|
"created": 1742737168.921996,
|
|
"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": 921.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 664.2804145812988,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state()",
|
|
"=",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,922",
|
|
"created": 1742737168.9222023,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of this_state()): result = 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 922.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 664.4866466522217,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 922.0,
|
|
"msg": "Returnvalue of this_state() is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 664.6466255187988,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015997886657714844
|
|
}
|
|
],
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0011470317840576172,
|
|
"time_finished": "2025-03-23 14:39:28,922",
|
|
"time_start": "2025-03-23 14:39:28,921"
|
|
},
|
|
"REQ-0010": {
|
|
"args": null,
|
|
"asctime": "2025-03-23 14:39:28,922",
|
|
"created": 1742737168.9228432,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 323,
|
|
"message": "REQ-0010",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 922.0,
|
|
"msg": "REQ-0010",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/report/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 665.1275157928467,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:28,923",
|
|
"created": 1742737168.9233284,
|
|
"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": "2025-03-23 14:39:28,923",
|
|
"created": 1742737168.9231427,
|
|
"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": 923.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 665.4269695281982,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 923.0,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 665.6126976013184,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001857280731201172
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,923",
|
|
"created": 1742737168.9239073,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"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": "2025-03-23 14:39:28,923",
|
|
"created": 1742737168.9235737,
|
|
"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": 923.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 665.8580303192139,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state_is(state_c)",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,923",
|
|
"created": 1742737168.923749,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of this_state_is(state_c)): result = True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 923.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 666.0332679748535,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 923.0,
|
|
"msg": "Returnvalue of this_state_is(state_c) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 666.191577911377,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001583099365234375
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,924",
|
|
"created": 1742737168.9244626,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"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": "2025-03-23 14:39:28,924",
|
|
"created": 1742737168.9241529,
|
|
"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": 924.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 666.4371490478516,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state_is(state_b)",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,924",
|
|
"created": 1742737168.9243093,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of this_state_is(state_b)): result = False (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 924.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 666.5935516357422,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 924.0,
|
|
"msg": "Returnvalue of this_state_is(state_b) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 666.7468547821045,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001533031463623047
|
|
}
|
|
],
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0016193389892578125,
|
|
"time_finished": "2025-03-23 14:39:28,924",
|
|
"time_start": "2025-03-23 14:39:28,922"
|
|
},
|
|
"REQ-0011": {
|
|
"args": null,
|
|
"asctime": "2025-03-23 14:39:28,924",
|
|
"created": 1742737168.9248827,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 323,
|
|
"message": "REQ-0011",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 924.0,
|
|
"msg": "REQ-0011",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/report/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 667.1669483184814,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:29,175",
|
|
"created": 1742737169.1758244,
|
|
"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": "2025-03-23 14:39:28,924",
|
|
"created": 1742737168.9249768,
|
|
"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": 924.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 667.2611236572266,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,925",
|
|
"created": 1742737168.925067,
|
|
"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": 925.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 667.351245880127,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.25
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,175",
|
|
"created": 1742737169.1753817,
|
|
"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": 175.0,
|
|
"msg": "Waiting for %.2fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 917.665958404541,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 175.0,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 918.1087017059326,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00044274330139160156
|
|
},
|
|
{
|
|
"args": [
|
|
"0.25109267234802246",
|
|
"0.2",
|
|
"0.3",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,176",
|
|
"created": 1742737169.1767893,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 306,
|
|
"message": "Return Value of this_state_duration() is correct (Content 0.25109267234802246 in [0.2 ... 0.3] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return Value of this_state_duration()",
|
|
"0.25109267234802246",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,176",
|
|
"created": 1742737169.1762867,
|
|
"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.25109267234802246 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 176.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 918.5709953308105,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value of this_state_duration()",
|
|
"0.2",
|
|
"0.3"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,176",
|
|
"created": 1742737169.176573,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 46,
|
|
"message": "Expectation (Return Value of this_state_duration()): 0.2 <= result <= 0.3",
|
|
"module": "test",
|
|
"msecs": 176.0,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 918.8573360443115,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 176.0,
|
|
"msg": "Return Value of this_state_duration() is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 919.0735816955566,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002162456512451172
|
|
}
|
|
],
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.2519066333770752,
|
|
"time_finished": "2025-03-23 14:39:29,176",
|
|
"time_start": "2025-03-23 14:39:28,924"
|
|
},
|
|
"REQ-0012": {
|
|
"args": null,
|
|
"asctime": "2025-03-23 14:39:29,177",
|
|
"created": 1742737169.1776426,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 323,
|
|
"message": "REQ-0012",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 177.0,
|
|
"msg": "REQ-0012",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/report/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 919.9268817901611,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:29,178",
|
|
"created": 1742737169.1789834,
|
|
"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": "2025-03-23 14:39:29,178",
|
|
"created": 1742737169.1782866,
|
|
"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": 178.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 920.5708503723145,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,178",
|
|
"created": 1742737169.1787553,
|
|
"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": 178.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 921.0395812988281,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 178.0,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 921.2677478790283,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002281665802001953
|
|
},
|
|
{
|
|
"args": [
|
|
"'condition_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,179",
|
|
"created": 1742737169.1796715,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"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": "2025-03-23 14:39:29,179",
|
|
"created": 1742737169.1792953,
|
|
"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": 179.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 921.5795993804932,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition()",
|
|
"=",
|
|
"'condition_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,179",
|
|
"created": 1742737169.1795084,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of last_transition_condition()): result = 'condition_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 179.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 921.79274559021,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 179.0,
|
|
"msg": "Returnvalue of last_transition_condition() is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 921.9558238983154,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00016307830810546875
|
|
}
|
|
],
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.002028942108154297,
|
|
"time_finished": "2025-03-23 14:39:29,179",
|
|
"time_start": "2025-03-23 14:39:29,177"
|
|
},
|
|
"REQ-0013": {
|
|
"args": null,
|
|
"asctime": "2025-03-23 14:39:29,180",
|
|
"created": 1742737169.1802263,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 323,
|
|
"message": "REQ-0013",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 180.0,
|
|
"msg": "REQ-0013",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/report/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 922.5106239318848,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:29,181",
|
|
"created": 1742737169.1810174,
|
|
"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": "2025-03-23 14:39:29,180",
|
|
"created": 1742737169.1805668,
|
|
"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": 180.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 922.8510856628418,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,180",
|
|
"created": 1742737169.180835,
|
|
"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": 180.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 923.119306564331,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 181.0,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 923.3016967773438,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001823902130126953
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,181",
|
|
"created": 1742737169.1815856,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"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": "2025-03-23 14:39:29,181",
|
|
"created": 1742737169.1812751,
|
|
"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": 181.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 923.5594272613525,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition(condition_a)",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,181",
|
|
"created": 1742737169.1814327,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of last_transition_condition(condition_a)): result = True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 181.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 923.7170219421387,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 181.0,
|
|
"msg": "Returnvalue of last_transition_condition(condition_a) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 923.8698482513428,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015282630920410156
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,182",
|
|
"created": 1742737169.1821918,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"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": "2025-03-23 14:39:29,181",
|
|
"created": 1742737169.1818376,
|
|
"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": 181.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 924.1218566894531,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition(condition_c)",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,181",
|
|
"created": 1742737169.1819906,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of last_transition_condition(condition_c)): result = False (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 181.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 924.2749214172363,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 182.0,
|
|
"msg": "Returnvalue of last_transition_condition(condition_c) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 924.476146697998,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00020122528076171875
|
|
}
|
|
],
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0019655227661132812,
|
|
"time_finished": "2025-03-23 14:39:29,182",
|
|
"time_start": "2025-03-23 14:39:29,180"
|
|
},
|
|
"REQ-0014": {
|
|
"args": null,
|
|
"asctime": "2025-03-23 14:39:29,182",
|
|
"created": 1742737169.1826627,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 323,
|
|
"message": "REQ-0014",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 182.0,
|
|
"msg": "REQ-0014",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/report/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 924.9470233917236,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:29,183",
|
|
"created": 1742737169.183394,
|
|
"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": "2025-03-23 14:39:29,182",
|
|
"created": 1742737169.1829376,
|
|
"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": 182.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 925.2219200134277,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,183",
|
|
"created": 1742737169.183199,
|
|
"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": 183.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 925.483226776123,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 183.0,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 925.6782531738281,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00019502639770507812
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,183",
|
|
"created": 1742737169.1839657,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"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": "2025-03-23 14:39:29,183",
|
|
"created": 1742737169.1836457,
|
|
"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": 183.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 925.9300231933594,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state()",
|
|
"=",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,183",
|
|
"created": 1742737169.1838062,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of previous_state()): result = 'state_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 183.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 926.0904788970947,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 183.0,
|
|
"msg": "Returnvalue of previous_state() is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 926.2499809265137,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001595020294189453
|
|
}
|
|
],
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.001302957534790039,
|
|
"time_finished": "2025-03-23 14:39:29,183",
|
|
"time_start": "2025-03-23 14:39:29,182"
|
|
},
|
|
"REQ-0015": {
|
|
"args": null,
|
|
"asctime": "2025-03-23 14:39:29,184",
|
|
"created": 1742737169.1844285,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 323,
|
|
"message": "REQ-0015",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 184.0,
|
|
"msg": "REQ-0015",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/report/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 926.7127513885498,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:29,185",
|
|
"created": 1742737169.185128,
|
|
"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": "2025-03-23 14:39:29,184",
|
|
"created": 1742737169.1847084,
|
|
"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": 184.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 926.992654800415,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,184",
|
|
"created": 1742737169.1849527,
|
|
"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": 184.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 927.2370338439941,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 185.0,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 927.4122714996338,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017523765563964844
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,185",
|
|
"created": 1742737169.1857052,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"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": "2025-03-23 14:39:29,185",
|
|
"created": 1742737169.1853878,
|
|
"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": 185.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 927.6721477508545,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state_was(state_a)",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,185",
|
|
"created": 1742737169.1855497,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of previous_state_was(state_a)): result = True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 185.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 927.8340339660645,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 185.0,
|
|
"msg": "Returnvalue of previous_state_was(state_a) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 927.9894828796387,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015544891357421875
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,186",
|
|
"created": 1742737169.1863136,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"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": "2025-03-23 14:39:29,185",
|
|
"created": 1742737169.1859636,
|
|
"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": 185.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 928.2479286193848,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state_was(state_b)",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,186",
|
|
"created": 1742737169.1861556,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of previous_state_was(state_b)): result = False (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 186.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 928.4398555755615,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 186.0,
|
|
"msg": "Returnvalue of previous_state_was(state_b) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 928.5979270935059,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015807151794433594
|
|
}
|
|
],
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0018851757049560547,
|
|
"time_finished": "2025-03-23 14:39:29,186",
|
|
"time_start": "2025-03-23 14:39:29,184"
|
|
},
|
|
"REQ-0016": {
|
|
"args": null,
|
|
"asctime": "2025-03-23 14:39:29,186",
|
|
"created": 1742737169.186802,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 323,
|
|
"message": "REQ-0016",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 186.0,
|
|
"msg": "REQ-0016",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/report/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 929.0862083435059,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:29,938",
|
|
"created": 1742737169.9384692,
|
|
"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": "2025-03-23 14:39:29,187",
|
|
"created": 1742737169.187093,
|
|
"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": 187.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 929.3773174285889,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,187",
|
|
"created": 1742737169.1873388,
|
|
"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": 187.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 929.6231269836426,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.75
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,187",
|
|
"created": 1742737169.1875148,
|
|
"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": 187.0,
|
|
"msg": "Waiting for %.2fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 929.7990798950195,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,938",
|
|
"created": 1742737169.9381442,
|
|
"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": 938.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1680.4285049438477,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 938.0,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1680.753469467163,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0003249645233154297
|
|
},
|
|
{
|
|
"args": [
|
|
"0.7509410381317139",
|
|
"0.7",
|
|
"0.8",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,939",
|
|
"created": 1742737169.9392097,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 306,
|
|
"message": "Return Value of previous_state_duration() is correct (Content 0.7509410381317139 in [0.7 ... 0.8] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return Value of previous_state_duration()",
|
|
"0.7509410381317139",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,938",
|
|
"created": 1742737169.9388435,
|
|
"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.7509410381317139 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 938.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1681.1277866363525,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value of previous_state_duration()",
|
|
"0.7",
|
|
"0.8"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,939",
|
|
"created": 1742737169.9390357,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 46,
|
|
"message": "Expectation (Return Value of previous_state_duration()): 0.7 <= result <= 0.8",
|
|
"module": "test",
|
|
"msecs": 939.0,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1681.3199520111084,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 939.0,
|
|
"msg": "Return Value of previous_state_duration() is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1681.4939975738525,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017404556274414062
|
|
}
|
|
],
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.7524077892303467,
|
|
"time_finished": "2025-03-23 14:39:29,939",
|
|
"time_start": "2025-03-23 14:39:29,186"
|
|
},
|
|
"REQ-0017": {
|
|
"args": null,
|
|
"asctime": "2025-03-23 14:39:28,298",
|
|
"created": 1742737168.2980623,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 323,
|
|
"message": "REQ-0017",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 298.0,
|
|
"msg": "REQ-0017",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/report/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.346622467041016,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:28,298",
|
|
"created": 1742737168.298166,
|
|
"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": "2025-03-23 14:39:28,298",
|
|
"created": 1742737168.2981303,
|
|
"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": 298.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.41457176208496,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 298.0,
|
|
"msg": "Initialising state machine with state_a",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.450334548950195,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.5762786865234375e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,298",
|
|
"created": 1742737168.2982674,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"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": "2025-03-23 14:39:28,298",
|
|
"created": 1742737168.298211,
|
|
"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": 298.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.49539566040039,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"=",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,298",
|
|
"created": 1742737168.2982397,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Initial state after Initialisation): result = 'state_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 298.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.52400588989258,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 298.0,
|
|
"msg": "Initial state after Initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.55166244506836,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 2.765655517578125e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:28,298",
|
|
"created": 1742737168.2984564,
|
|
"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": "2025-03-23 14:39:28,298",
|
|
"created": 1742737168.2984183,
|
|
"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": 298.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.70258140563965,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 298.0,
|
|
"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": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.7407283782959,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.814697265625e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,298",
|
|
"created": 1742737168.2985702,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"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": "2025-03-23 14:39:28,298",
|
|
"created": 1742737168.2985044,
|
|
"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": 298.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.78865051269531,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 1st execution of work method",
|
|
"=",
|
|
"'state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,298",
|
|
"created": 1742737168.298534,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after 1st execution of work method): result = 'state_b' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 298.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.818214416503906,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 298.0,
|
|
"msg": "State after 1st execution of work method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.854454040527344,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.62396240234375e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:28,298",
|
|
"created": 1742737168.298651,
|
|
"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": "2025-03-23 14:39:28,298",
|
|
"created": 1742737168.29862,
|
|
"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": 298.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.90428352355957,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 298.0,
|
|
"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": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.93527793884277,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.0994415283203125e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,298",
|
|
"created": 1742737168.29875,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"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": "2025-03-23 14:39:28,298",
|
|
"created": 1742737168.2986944,
|
|
"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": 298.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 40.97867012023926,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 2nd execution of work method",
|
|
"=",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,298",
|
|
"created": 1742737168.2987225,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after 2nd execution of work method): result = 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 298.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 41.00680351257324,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 298.0,
|
|
"msg": "State after 2nd execution of work method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 41.03422164916992,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 2.7418136596679688e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:28,298",
|
|
"created": 1742737168.2987916,
|
|
"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": 298.0,
|
|
"msg": "Work routine executed the 3rd time with no effect. No Transitions starting from state_c (dead end)",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 41.075944900512695,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,298",
|
|
"created": 1742737168.2988894,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"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": "2025-03-23 14:39:28,298",
|
|
"created": 1742737168.298833,
|
|
"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": 298.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 41.117191314697266,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 3rd execution of work method",
|
|
"=",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,298",
|
|
"created": 1742737168.2988622,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after 3rd execution of work method): result = 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 298.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 41.14651679992676,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 298.0,
|
|
"msg": "State after 3rd execution of work method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 41.173696517944336,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 2.7179718017578125e-05
|
|
}
|
|
],
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0008270740509033203,
|
|
"time_finished": "2025-03-23 14:39:28,298",
|
|
"time_start": "2025-03-23 14:39:28,298"
|
|
},
|
|
"REQ-0018": {
|
|
"args": null,
|
|
"asctime": "2025-03-23 14:39:28,298",
|
|
"created": 1742737168.2989802,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 323,
|
|
"message": "REQ-0018",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 298.0,
|
|
"msg": "REQ-0018",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/report/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 41.26453399658203,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:28,299",
|
|
"created": 1742737168.299094,
|
|
"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": "2025-03-23 14:39:28,299",
|
|
"created": 1742737168.299056,
|
|
"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": 299.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 41.34035110473633,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 299.0,
|
|
"msg": "Initialising state machine with state_a",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 41.37825965881348,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.790855407714844e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,299",
|
|
"created": 1742737168.2991948,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"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": "2025-03-23 14:39:28,299",
|
|
"created": 1742737168.2991388,
|
|
"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": 299.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 41.42308235168457,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"=",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,299",
|
|
"created": 1742737168.2991672,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Initial state after Initialisation): result = 'state_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 299.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 41.451454162597656,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 299.0,
|
|
"msg": "Initial state after Initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 41.47911071777344,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 2.765655517578125e-05
|
|
},
|
|
{
|
|
"args": [
|
|
0.16
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,449",
|
|
"created": 1742737168.4496698,
|
|
"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": "2025-03-23 14:39:28,449",
|
|
"created": 1742737168.449415,
|
|
"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": 449.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 191.69926643371582,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 449.0,
|
|
"msg": "Waiting for %.3fs or state change",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 191.9541358947754,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002548694610595703
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,449",
|
|
"created": 1742737168.4498713,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"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": "2025-03-23 14:39:28,449",
|
|
"created": 1742737168.4498045,
|
|
"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": 449.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 192.08884239196777,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 1st cycle",
|
|
"=",
|
|
"'state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,449",
|
|
"created": 1742737168.4498386,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after 1st cycle): result = 'state_b' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 449.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 192.1229362487793,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 449.0,
|
|
"msg": "State after 1st cycle is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 192.1555995941162,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.266334533691406e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"0.15043091773986816",
|
|
"0.145",
|
|
"0.155",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,449",
|
|
"created": 1742737168.4499874,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 306,
|
|
"message": "Transition time after 1st cycle is correct (Content 0.15043091773986816 in [0.145 ... 0.155] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Transition time after 1st cycle",
|
|
"0.15043091773986816",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,449",
|
|
"created": 1742737168.4499238,
|
|
"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.15043091773986816 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 449.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 192.20805168151855,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Transition time after 1st cycle",
|
|
"0.145",
|
|
"0.155"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,449",
|
|
"created": 1742737168.449955,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 46,
|
|
"message": "Expectation (Transition time after 1st cycle): 0.145 <= result <= 0.155",
|
|
"module": "test",
|
|
"msecs": 449.0,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 192.23928451538086,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 449.0,
|
|
"msg": "Transition time after 1st cycle is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 192.27170944213867,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.24249267578125e-05
|
|
},
|
|
{
|
|
"args": [
|
|
0.235
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,675",
|
|
"created": 1742737168.6755366,
|
|
"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": "2025-03-23 14:39:28,675",
|
|
"created": 1742737168.6752703,
|
|
"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": 675.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 417.5546169281006,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 675.0,
|
|
"msg": "Waiting for %.3fs or state change",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 417.82093048095703,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002663135528564453
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,675",
|
|
"created": 1742737168.6757243,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"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": "2025-03-23 14:39:28,675",
|
|
"created": 1742737168.675642,
|
|
"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": 675.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 417.9263114929199,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 2nd cycle",
|
|
"=",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,675",
|
|
"created": 1742737168.6756854,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after 2nd cycle): result = 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 675.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 417.9697036743164,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 675.0,
|
|
"msg": "State after 2nd cycle is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 418.00856590270996,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.886222839355469e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"0.1502208709716797",
|
|
"0.145",
|
|
"0.155",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,675",
|
|
"created": 1742737168.6758614,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 306,
|
|
"message": "Transition time after 2nd cycle is correct (Content 0.1502208709716797 in [0.145 ... 0.155] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Transition time after 2nd cycle",
|
|
"0.1502208709716797",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,675",
|
|
"created": 1742737168.6757863,
|
|
"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.1502208709716797 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 675.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 418.07055473327637,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Transition time after 2nd cycle",
|
|
"0.145",
|
|
"0.155"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,675",
|
|
"created": 1742737168.675824,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 46,
|
|
"message": "Expectation (Transition time after 2nd cycle): 0.145 <= result <= 0.155",
|
|
"module": "test",
|
|
"msecs": 675.0,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 418.1082248687744,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 675.0,
|
|
"msg": "Transition time after 2nd cycle is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 418.14565658569336,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.743171691894531e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"0.22549748420715332",
|
|
"0.21999999999999997",
|
|
"0.22999999999999998",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,675",
|
|
"created": 1742737168.6759982,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 306,
|
|
"message": "Previous state duration is correct (Content 0.22549748420715332 in [0.21999999999999997 ... 0.22999999999999998] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Previous state duration",
|
|
"0.22549748420715332",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,675",
|
|
"created": 1742737168.6759193,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Previous state duration): 0.22549748420715332 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 675.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 418.20359230041504,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Previous state duration",
|
|
"0.21999999999999997",
|
|
"0.22999999999999998"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,675",
|
|
"created": 1742737168.6759565,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 46,
|
|
"message": "Expectation (Previous state duration): 0.21999999999999997 <= result <= 0.22999999999999998",
|
|
"module": "test",
|
|
"msecs": 675.0,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 418.2407855987549,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 675.0,
|
|
"msg": "Previous state duration is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 418.28250885009766,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.172325134277344e-05
|
|
}
|
|
],
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.3770179748535156,
|
|
"time_finished": "2025-03-23 14:39:28,675",
|
|
"time_start": "2025-03-23 14:39:28,298"
|
|
},
|
|
"REQ-0019": {
|
|
"args": null,
|
|
"asctime": "2025-03-23 14:39:28,676",
|
|
"created": 1742737168.676143,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 323,
|
|
"message": "REQ-0019",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 676.0,
|
|
"msg": "REQ-0019",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/report/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 418.4272289276123,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
0.151,
|
|
0.15
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,676",
|
|
"created": 1742737168.6763155,
|
|
"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": "2025-03-23 14:39:28,676",
|
|
"created": 1742737168.676264,
|
|
"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": 676.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 418.5483455657959,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 676.0,
|
|
"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": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 418.59984397888184,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.14984130859375e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,676",
|
|
"created": 1742737168.6764534,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"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": "2025-03-23 14:39:28,676",
|
|
"created": 1742737168.6763778,
|
|
"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": 676.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 418.66207122802734,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"=",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,676",
|
|
"created": 1742737168.6764176,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Initial state after Initialisation): result = 'state_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 676.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 418.7018871307373,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 676.0,
|
|
"msg": "Initial state after Initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 418.73764991760254,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.5762786865234375e-05
|
|
},
|
|
{
|
|
"args": [
|
|
0.3
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,919",
|
|
"created": 1742737168.9196987,
|
|
"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": [
|
|
2.6226043701171875e-06
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,676",
|
|
"created": 1742737168.6765084,
|
|
"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": 676.0,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 418.792724609375,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.06031203269958496
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,736",
|
|
"created": 1742737168.7368853,
|
|
"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": 736.0,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 479.1696071624756,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.12107729911804199
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,797",
|
|
"created": 1742737168.7976625,
|
|
"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": 797.0,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 539.9467945098877,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.18197202682495117
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,858",
|
|
"created": 1742737168.85856,
|
|
"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": 858.0,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 600.8443832397461,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_true'",
|
|
"'state_a'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,858",
|
|
"created": 1742737168.858975,
|
|
"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": 858.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 601.2592315673828,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 919.0,
|
|
"msg": "Waiting for %.3fs or state change",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 661.9830131530762,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.06072378158569336
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,920",
|
|
"created": 1742737168.9205916,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"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": "2025-03-23 14:39:28,920",
|
|
"created": 1742737168.9202104,
|
|
"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": 920.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 662.4946594238281,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 1st cycle",
|
|
"=",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:28,920",
|
|
"created": 1742737168.9204147,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after 1st cycle): result = 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 920.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 662.6989841461182,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 920.0,
|
|
"msg": "State after 1st cycle is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 662.8758907318115,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017690658569335938
|
|
}
|
|
],
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.24444866180419922,
|
|
"time_finished": "2025-03-23 14:39:28,920",
|
|
"time_start": "2025-03-23 14:39:28,676"
|
|
},
|
|
"REQ-0020": {
|
|
"args": null,
|
|
"asctime": "2025-03-23 14:39:29,969",
|
|
"created": 1742737169.969666,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 323,
|
|
"message": "REQ-0020",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 969.0,
|
|
"msg": "REQ-0020",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/report/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1711.9503021240234,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-03-23 14:39:29,971",
|
|
"created": 1742737169.97199,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 254,
|
|
"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": "2025-03-23 14:39:29,969",
|
|
"created": 1742737169.9698777,
|
|
"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": 969.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.1620178222656,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,970",
|
|
"created": 1742737169.970061,
|
|
"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": 970.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.3453617095947,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,970",
|
|
"created": 1742737169.9701726,
|
|
"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": 970.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.4569416046143,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,970",
|
|
"created": 1742737169.9702637,
|
|
"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": 970.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.548017501831,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,970",
|
|
"created": 1742737169.970386,
|
|
"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": 970.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.6703262329102,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,970",
|
|
"created": 1742737169.970488,
|
|
"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": 970.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.7723693847656,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,970",
|
|
"created": 1742737169.970577,
|
|
"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": 970.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.8612995147705,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"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": "2025-03-23 14:39:29,970",
|
|
"created": 1742737169.9706922,
|
|
"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": 970.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1712.9764556884766,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"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": "2025-03-23 14:39:29,970",
|
|
"created": 1742737169.970798,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"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": 970.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.0823135375977,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"'specific callback for reaching state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,970",
|
|
"created": 1742737169.9708986,
|
|
"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": 970.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.1829261779785,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"=",
|
|
"'specific callback for reaching state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,970",
|
|
"created": 1742737169.9709892,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 'specific callback for reaching state_b' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 970.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.273525238037,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'specific callback for reaching state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,971",
|
|
"created": 1742737169.9710815,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 1 is correct (Content 'specific callback for reaching state_b' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"msecs": 971.0,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.3657932281494,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,971",
|
|
"created": 1742737169.9711745,
|
|
"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": 971.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.458776473999,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"=",
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,971",
|
|
"created": 1742737169.9712634,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 'nonspecific callback' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 971.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.547706604004,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,971",
|
|
"created": 1742737169.9713533,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 2 is correct (Content 'nonspecific callback' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"msecs": 971.0,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.6375904083252,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"'specific callback for reaching state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,971",
|
|
"created": 1742737169.9714458,
|
|
"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": 971.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.7300968170166,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"=",
|
|
"'specific callback for reaching state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,971",
|
|
"created": 1742737169.9715354,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 3): result = 'specific callback for reaching state_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 971.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.8197422027588,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'specific callback for reaching state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,971",
|
|
"created": 1742737169.9716263,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 3 is correct (Content 'specific callback for reaching state_a' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"msecs": 971.0,
|
|
"msg": "Submitted value number 3 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1713.9105796813965,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,971",
|
|
"created": 1742737169.9717233,
|
|
"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": 971.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.0076160430908,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"=",
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,971",
|
|
"created": 1742737169.9718156,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 4): result = 'nonspecific callback' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 971.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.0998840332031,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-03-23 14:39:29,971",
|
|
"created": 1742737169.9719045,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 4 is correct (Content 'nonspecific callback' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"msecs": 971.0,
|
|
"msg": "Submitted value number 4 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.188814163208,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 971.0,
|
|
"msg": "Callback execution order: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/state_machine/unittest/src/unittest/test.py",
|
|
"process": 123687,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1714.2744064331055,
|
|
"stack_info": null,
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 8.559226989746094e-05
|
|
}
|
|
],
|
|
"thread": 140194201342016,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0023241043090820312,
|
|
"time_finished": "2025-03-23 14:39:29,971",
|
|
"time_start": "2025-03-23 14:39:29,969"
|
|
}
|
|
},
|
|
"testrun_id": "p3",
|
|
"time_consumption": 1.6680364608764648,
|
|
"uid_list_sorted": [
|
|
"REQ-0005",
|
|
"REQ-0006",
|
|
"REQ-0007",
|
|
"REQ-0008",
|
|
"REQ-0017",
|
|
"REQ-0018",
|
|
"REQ-0019",
|
|
"REQ-0009",
|
|
"REQ-0010",
|
|
"REQ-0011",
|
|
"REQ-0012",
|
|
"REQ-0013",
|
|
"REQ-0014",
|
|
"REQ-0015",
|
|
"REQ-0016",
|
|
"REQ-0001",
|
|
"REQ-0002",
|
|
"REQ-0003",
|
|
"REQ-0004",
|
|
"REQ-0020"
|
|
]
|
|
}
|
|
],
|
|
"unittest_information": {
|
|
"Version": "e6f5e3b6cb9ae84eee10254379ddd104"
|
|
}
|
|
} |