|
| 1 | +[INFO] fungo: set plugin log level: level=debug |
| 2 | +[INFO] fungo: init plugin: path=fungo/examples/debugtalk.bin |
| 3 | +[INFO] hc-grpc-go: launch the plugin process |
| 4 | +[DEBUG] hc-grpc-go: starting plugin: path=fungo/examples/debugtalk.bin args=["fungo/examples/debugtalk.bin"] |
| 5 | +[DEBUG] hc-grpc-go: plugin started: path=fungo/examples/debugtalk.bin pid=63329 |
| 6 | +[DEBUG] hc-grpc-go: waiting for RPC address: path=fungo/examples/debugtalk.bin |
| 7 | +[DEBUG] hc-grpc-go.debugtalk.bin: 2023/08/06 23:44:26 plugin init function called |
| 8 | +[INFO] hc-grpc-go.debugtalk.bin: [INFO] fungo: register plugin function: funcName=sum_ints |
| 9 | +[INFO] hc-grpc-go.debugtalk.bin: [INFO] fungo: register plugin function: funcName=sum_two_int |
| 10 | +[INFO] hc-grpc-go.debugtalk.bin: [INFO] fungo: register plugin function: funcName=sum |
| 11 | +[INFO] hc-grpc-go.debugtalk.bin: [INFO] fungo: register plugin function: funcName=sum_two_string |
| 12 | +[INFO] hc-grpc-go.debugtalk.bin: [INFO] fungo: register plugin function: funcName=sum_strings |
| 13 | +[INFO] hc-grpc-go.debugtalk.bin: [INFO] fungo: register plugin function: funcName=concatenate |
| 14 | +[INFO] hc-grpc-go.debugtalk.bin: [INFO] fungo: register plugin function: funcName=setup_hook_example |
| 15 | +[INFO] hc-grpc-go.debugtalk.bin: [INFO] fungo: register plugin function: funcName=teardown_hook_example |
| 16 | +[INFO] hc-grpc-go.debugtalk.bin: [INFO] fungo: start plugin server in gRPC mode |
| 17 | +[DEBUG] hc-grpc-go: using plugin: version=1 |
| 18 | +[DEBUG] hc-grpc-go.debugtalk.bin: plugin address: address=/var/folders/nm/6prc3p4s2tg_27_3fwfv22vh0000gp/T/plugin3126265366 network=unix timestamp="2023-08-06T23:44:26.511+0800" |
| 19 | +[INFO] hc-grpc-go: load hashicorp go plugin success: path=fungo/examples/debugtalk.bin |
| 20 | +[DEBUG] hc-grpc-go: check if plugin has function: funcName=sum_ints |
| 21 | +[DEBUG] fungo: gRPC_client GetNames() start |
| 22 | +[DEBUG] hc-grpc-go.debugtalk.bin: [DEBUG] fungo: gRPC_server GetNames() start |
| 23 | +[DEBUG] hc-grpc-go.debugtalk.bin: [DEBUG] fungo.func_exec: get registered plugin functions: names=["sum_ints", "sumstrings", "sum_strings", "setup_hook_example", "setuphookexample", "teardown_hook_example", "sumtwoint", "sumtwostring", "teardownhookexample", "sumints", "sum_two_int", "sum", "sum_two_string", "concatenate"] |
| 24 | +[DEBUG] hc-grpc-go.debugtalk.bin: [DEBUG] fungo: gRPC_server GetNames() success |
| 25 | +[DEBUG] fungo: gRPC_client GetNames() success |
| 26 | +[DEBUG] hc-grpc-go: check if plugin has function: funcName=concatenate |
| 27 | +[DEBUG] fungo: gRPC_client GetNames() start |
| 28 | +[DEBUG] hc-grpc-go.debugtalk.bin: [DEBUG] fungo: gRPC_server GetNames() start |
| 29 | +[DEBUG] hc-grpc-go.debugtalk.bin: [DEBUG] fungo.func_exec: get registered plugin functions: names=["sumtwoint", "sumtwostring", "teardownhookexample", "sumints", "sum_two_int", "sum", "sum_two_string", "concatenate", "sum_ints", "sumstrings", "sum_strings", "setup_hook_example", "setuphookexample", "teardown_hook_example"] |
| 30 | +[DEBUG] hc-grpc-go.debugtalk.bin: [DEBUG] fungo: gRPC_server GetNames() success |
| 31 | +[DEBUG] fungo: gRPC_client GetNames() success |
| 32 | +[INFO] fungo: gRPC_client Call() start: funcName=sum_ints funcArgs=[1, 2, 3, 4] |
| 33 | +[DEBUG] hc-grpc-go.debugtalk.bin: [DEBUG] fungo: gRPC_server Call() start |
| 34 | +[DEBUG] hc-grpc-go.debugtalk.bin: [DEBUG] fungo.func_exec: plugin function execution: funcName=sum_ints args=[1, 2, 3, 4] |
| 35 | +[DEBUG] hc-grpc-go.debugtalk.bin: [DEBUG] fungo: gRPC_server Call() success |
| 36 | +[INFO] fungo: gRPC_client Call() success: result=10 |
| 37 | +[INFO] fungo: gRPC_client Call() start: funcName=sum_two_int funcArgs=[1, 2] |
| 38 | +[DEBUG] hc-grpc-go.debugtalk.bin: [DEBUG] fungo: gRPC_server Call() start |
| 39 | +[DEBUG] hc-grpc-go.debugtalk.bin: [DEBUG] fungo.func_exec: plugin function execution: funcName=sum_two_int args=[1, 2] |
| 40 | +[DEBUG] hc-grpc-go.debugtalk.bin: [DEBUG] fungo: gRPC_server Call() success |
| 41 | +[INFO] fungo: gRPC_client Call() success: result=3 |
| 42 | +[INFO] fungo: gRPC_client Call() start: funcName=sum funcArgs=[1, 2, 3.4, 5] |
| 43 | +[DEBUG] hc-grpc-go.debugtalk.bin: [DEBUG] fungo: gRPC_server Call() start |
| 44 | +[DEBUG] hc-grpc-go.debugtalk.bin: [DEBUG] fungo.func_exec: plugin function execution: funcName=sum args=[1, 2, 3.4, 5] |
| 45 | +[DEBUG] hc-grpc-go.debugtalk.bin: [DEBUG] fungo: gRPC_server Call() success |
| 46 | +[INFO] fungo: gRPC_client Call() success: result=11.4 |
| 47 | +[INFO] fungo: gRPC_client Call() start: funcName=sum_two_string funcArgs=[a, b] |
| 48 | +[DEBUG] hc-grpc-go.debugtalk.bin: [DEBUG] fungo: gRPC_server Call() start |
| 49 | +[DEBUG] hc-grpc-go.debugtalk.bin: [DEBUG] fungo.func_exec: plugin function execution: funcName=sum_two_string args=[a, b] |
| 50 | +[DEBUG] hc-grpc-go.debugtalk.bin: [DEBUG] fungo: gRPC_server Call() success |
| 51 | +[INFO] fungo: gRPC_client Call() success: result=ab |
| 52 | +[INFO] fungo: gRPC_client Call() start: funcName=sum_strings funcArgs=[a, b, c] |
| 53 | +[DEBUG] hc-grpc-go.debugtalk.bin: [DEBUG] fungo: gRPC_server Call() start |
| 54 | +[DEBUG] hc-grpc-go.debugtalk.bin: [DEBUG] fungo.func_exec: plugin function execution: funcName=sum_strings args=[a, b, c] |
| 55 | +[DEBUG] hc-grpc-go.debugtalk.bin: [DEBUG] fungo: gRPC_server Call() success |
| 56 | +[INFO] fungo: gRPC_client Call() success: result=abc |
| 57 | +[INFO] fungo: gRPC_client Call() start: funcName=concatenate funcArgs=[a, 2, c, 3.4] |
| 58 | +[INFO] fungo: gRPC_client Call() success: result=a2c3.4 |
| 59 | +[INFO] hc-grpc-go: quit hashicorp plugin process |
| 60 | +[DEBUG] hc-grpc-go.debugtalk.bin: [DEBUG] fungo: gRPC_server Call() start |
| 61 | +[DEBUG] hc-grpc-go.debugtalk.bin: [DEBUG] fungo.func_exec: plugin function execution: funcName=concatenate args=[a, 2, c, 3.4] |
| 62 | +[DEBUG] hc-grpc-go.debugtalk.bin: [DEBUG] fungo: gRPC_server Call() success |
| 63 | +[DEBUG] hc-grpc-go.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" |
| 64 | +[INFO] hc-grpc-go: plugin process exited: path=fungo/examples/debugtalk.bin pid=63329 |
| 65 | +[DEBUG] hc-grpc-go: plugin exited |
| 66 | +[INFO] hc-grpc-go: [teardown test] remove hashicorp plugin: path=fungo/examples/debugtalk.bin |
| 67 | +O] fungo: gRPC_client Call() success: result=abc |
| 68 | +[INFO] fungo: gRPC_client Call() start: funcName=concatenate funcArgs=[a, 2, c, 3.4] |
| 69 | +[DEBUG] hc-grpc-go.debugtalk.bin: 2023-08-06T23:42:36.210+0800 [DEBUG] fungo: gRPC_server Call() start |
| 70 | +[DEBUG] hc-grpc-go.debugtalk.bin: 2023-08-06T23:42:36.210+0800 [DEBUG] fungo.func_exec: plugin function execution: funcName=concatenate args=[a, 2, c, 3.4] |
| 71 | +[DEBUG] hc-grpc-go.debugtalk.bin: 2023-08-06T23:42:36.210+0800 [DEBUG] fungo: gRPC_server Call() success |
| 72 | +[INFO] fungo: gRPC_client Call() success: result=a2c3.4 |
| 73 | +[INFO] hc-grpc-go: quit hashicorp plugin process |
| 74 | +[DEBUG] hc-grpc-go.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" |
| 75 | +[INFO] hc-grpc-go: plugin process exited: path=fungo/examples/debugtalk.bin pid=62304 |
| 76 | +[DEBUG] hc-grpc-go: plugin exited |
| 77 | +[INFO] hc-grpc-go: [teardown test] remove hashicorp plugin: path=fungo/examples/debugtalk.bin |
0 commit comments