############{EXECUTE}{2023-07-10T13:48:43.249+08:00}############ 2023-07-10 13:48:43.255 INFO 52 --- [pool-manual-subtask-executor11,ec9e0457bc2d4346,6555cc5cfb98] c.a.o.c.m.t.model.SubtaskInstanceEntity : Run subtask, id=1813, context=Context{parallelIdx=-1, stringMap={host_ip=11.124.5.84, ssh_port=22, prohibit_rollback=false, task_instance_id=1751, task_operation=execute, host_credential_id=7, latest_execution_start_time=2023-07-10T13:48:43.246+08:00, sub_task_instance_id=1813, host_id=4}, listMap={}}, executor=11.162.217.161 2023-07-10 13:48:43.256 INFO 52 --- [pool-manual-subtask-executor11,ec9e0457bc2d4346,6555cc5cfb98] c.a.o.s.t.b.host.InstallOcpAgentTask : [InstallOcpAgentTask] started 2023-07-10 13:48:43.258 INFO 52 --- [pool-manual-subtask-executor11,ec9e0457bc2d4346,6555cc5cfb98] c.a.o.service.task.util.AgentTaskUtils : Create ssh executor from task context 2023-07-10 13:48:43.260 INFO 52 --- [pool-manual-subtask-executor11,ec9e0457bc2d4346,6555cc5cfb98] c.a.o.service.task.util.AgentTaskUtils : CredentialId in context, use specific credential 2023-07-10 13:48:43.282 INFO 52 --- [pool-manual-subtask-executor11,ec9e0457bc2d4346,6555cc5cfb98] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: echo 1 on 11.124.5.84 2023-07-10 13:48:43.339 INFO 52 --- [pool-manual-subtask-executor11,ec9e0457bc2d4346,6555cc5cfb98] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: echo 1 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=echo 1, out=1, err=, extOut=null, exitStatus=0) 2023-07-10 13:48:43.382 INFO 52 --- [pool-manual-subtask-executor11,ec9e0457bc2d4346,6555cc5cfb98] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: echo 1 on 11.124.5.84 2023-07-10 13:48:43.436 INFO 52 --- [pool-manual-subtask-executor11,ec9e0457bc2d4346,6555cc5cfb98] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: echo 1 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=echo 1, out=1, err=, extOut=null, exitStatus=0) 2023-07-10 13:48:43.479 INFO 52 --- [pool-manual-subtask-executor11,ec9e0457bc2d4346,6555cc5cfb98] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: netstat -atunlp| awk '{ print $4 }'| grep ":62888" | wc -l on 11.124.5.84 2023-07-10 13:48:43.541 INFO 52 --- [pool-manual-subtask-executor11,ec9e0457bc2d4346,6555cc5cfb98] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: netstat -atunlp| awk '{ print $4 }'| grep ":62888" | wc -l on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=netstat -atunlp| awk '{ print $4 }'| grep ":62888" | wc -l, out=(No info could be read for "-p": geteuid()=1385826 but you should be root.) 0, err=, extOut=null, exitStatus=0) 2023-07-10 13:48:43.544 INFO 52 --- [pool-manual-subtask-executor11,ec9e0457bc2d4346,6555cc5cfb98] c.o.o.e.internal.template.SshTemplate : SSH execute end: netstat -atunlp| awk '{ print $4 }'| grep ":62888" | wc -l on 11.124.5.84,result:SshResult(host=11.124.5.84, username=usertest, command=netstat -atunlp| awk '{ print $4 }'| grep ":62888" | wc -l, out=(No info could be read for "-p": geteuid()=1385826 but you should be root.) 0, err=, extOut=null, exitStatus=0) 2023-07-10 13:48:43.546 INFO 52 --- [pool-manual-subtask-executor11,ec9e0457bc2d4346,6555cc5cfb98] c.a.o.c.m.t.model.SubtaskInstanceEntity : Set state for subtask: 1813, current state: RUNNING, new state: FAILED 2023-07-10 13:48:43.548 WARN 52 --- [pool-manual-subtask-executor11,ec9e0457bc2d4346,6555cc5cfb98] c.a.o.c.t.engine.runner.RunnerFactory : Execute task failed, subtask=SubtaskInstanceEntity{id=1813, name=Install ocp agent, state=FAILED, operation=EXECUTE, className=com.alipay.ocp.service.task.business.host.InstallOcpAgentTask, seriesId=4, startTime=2023-07-10T13:48:43.246+08:00, endTime=2023-07-10T13:48:43.548+08:00} java.lang.NumberFormatException: For input string: "(No info could be read for "-p": geteuid()=1385826 but you should be root.) 0" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[na:1.8.0_312] at java.lang.Integer.parseInt(Integer.java:569) ~[na:1.8.0_312] at java.lang.Integer.parseInt(Integer.java:615) ~[na:1.8.0_312] at com.oceanbase.ocp.executor.executor.SshExecutor.checkPortOccupied(SshExecutor.java:246) ~[command-executor-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.service.task.business.host.InstallOcpAgentTask.checkAgentPortsAvailable(InstallOcpAgentTask.java:144) ~[ocp-service-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.service.task.business.host.InstallOcpAgentTask.run(InstallOcpAgentTask.java:64) ~[ocp-service-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.core.metadb.task.model.SubtaskInstanceEntity.run(SubtaskInstanceEntity.java:225) ~[ocp-core-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.core.task.engine.runner.JavaTaskRunner.doExecute(JavaTaskRunner.java:26) ~[ocp-core-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.core.task.engine.runner.JavaTaskRunner.run(JavaTaskRunner.java:20) ~[ocp-core-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.core.task.engine.runner.RunnerFactory.doRun(RunnerFactory.java:118) ~[ocp-core-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.core.task.engine.runner.RunnerFactory.redirectOutputIfNotSysSchedule(RunnerFactory.java:190) ~[ocp-core-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.core.task.engine.runner.RunnerFactory.run(RunnerFactory. java:107) ~[ocp-core-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.core.task.engine.coordinator.worker.subtask.ReadySubtaskWorker.lambda$submitTask$3(ReadySubtaskWorker.java:122) ~[ocp-core-3.3.4-20230605.jar!/:3.3.4-20230605] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_312] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_312] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_312] at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_312] ############{RETRY}{2023-07-10T13:56:23.307+08:00}############ 2023-07-10 13:56:23.313 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] c.a.o.c.m.t.model.SubtaskInstanceEntity : Retry subtask, id=1813, context=Context{parallelIdx=-1, stringMap={host_ip=11.124.5.84, ssh_port=22, prohibit_rollback=false, task_instance_id=1751, task_operation=retry, host_credential_id=7, latest_execution_start_time=2023-07-10T13:56:23.304+08:00, sub_task_instance_id=1813, host_id=4}, listMap={}}, executor=11.162.217.161 2023-07-10 13:56:23.315 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] c.a.o.s.t.b.host.InstallOcpAgentTask : [InstallOcpAgentTask] rollback started 2023-07-10 13:56:23.317 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] c.a.o.service.task.util.AgentTaskUtils : Create ssh executor from task context 2023-07-10 13:56:23.318 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] c.a.o.service.task.util.AgentTaskUtils : CredentialId in context, use specific credential 2023-07-10 13:56:23.342 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: echo 1 on 11.124.5.84 2023-07-10 13:56:23.401 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: echo 1 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=echo 1, out=1, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:23.403 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] c.a.o.s.compute.agent.HostAgentService : Offlining all exporters: hostId=4 2023-07-10 13:56:23.406 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] .s.t.b.h.OcpAgentInstallationTaskService : Deleting host agent records: hostId=4 2023-07-10 13:56:23.408 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] c.a.o.s.compute.agent.HostAgentService : Deleting host agent and processes: hostId=4 2023-07-10 13:56:23.410 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] c.a.o.s.compute.agent.HostAgentService : Finding OCP agent: hostId=4 2023-07-10 13:56:23.414 WARN 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] c.a.o.s.compute.agent.HostAgentService : OCP agent not found: hostId=4 2023-07-10 13:56:23.442 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: echo 1 on 11.124.5.84 2023-07-10 13:56:23.501 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: echo 1 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=echo 1, out=1, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:23.543 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: pgrep -af "ocp_agentd" | grep -cv pgrep | xargs --no-run-if-empty on 11.124.5.84 2023-07-10 13:56:23.604 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: pgrep -af "ocp_agentd" | grep -cv pgrep | xargs --no-run-if-empty on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=pgrep -af "ocp_agentd" | grep -cv pgrep | xargs --no-run-if-empty, out=0, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:23.606 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] c.o.o.e.internal.template.SshTemplate : SSH execute end: pgrep -af "ocp_agentd" | grep -cv pgrep | xargs --no-run-if-empty on 11.124.5.84,result:SshResult(host=11.124.5.84, username=usertest, command=pgrep -af "ocp_agentd" | grep -cv pgrep | xargs --no-run-if-empty, out=0, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:23.645 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: echo 1 on 11.124.5.84 2023-07-10 13:56:23.701 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: echo 1 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=echo 1, out=1, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:23.742 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: pgrep -af "ocp_mgragent" | grep -cv pgrep | xargs --no-run-if-empty on 11.124.5.84 2023-07-10 13:56:23.804 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: pgrep -af "ocp_mgragent" | grep -cv pgrep | xargs --no-run-if-empty on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=pgrep -af "ocp_mgragent" | grep -cv pgrep | xargs --no-run-if-empty, out=0, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:23.807 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] c.o.o.e.internal.template.SshTemplate : SSH execute end: pgrep -af "ocp_mgragent" | grep -cv pgrep | xargs --no-run-if-empty on 11.124.5.84,result:SshResult(host=11.124.5.84, username=usertest, command=pgrep -af "ocp_mgragent" | grep -cv pgrep | xargs --no-run-if-empty, out=0, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:23.847 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: echo 1 on 11.124.5.84 2023-07-10 13:56:23.906 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: echo 1 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=echo 1, out=1, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:23.949 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: pgrep -af "ocp_monagent" | grep -cv pgrep | xargs --no-run-if-empty on 11.124.5.84 2023-07-10 13:56:24.010 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: pgrep -af "ocp_monagent" | grep -cv pgrep | xargs --no-run-if-empty on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=pgrep -af "ocp_monagent" | grep -cv pgrep | xargs --no-run-if-empty, out=0, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:24.013 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] c.o.o.e.internal.template.SshTemplate : SSH execute end: pgrep -af "ocp_monagent" | grep -cv pgrep | xargs --no-run-if-empty on 11.124.5.84,result:SshResult(host=11.124.5.84, username=usertest, command=pgrep -af "ocp_monagent" | grep -cv pgrep | xargs --no-run-if-empty, out=0, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:24.053 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: echo 1 on 11.124.5.84 2023-07-10 13:56:24.109 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: echo 1 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=echo 1, out=1, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:24.151 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: mkdir -p /tmp/92ea38ae32fc4568 on 11.124.5.84 2023-07-10 13:56:24.206 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: mkdir -p /tmp/92ea38ae32fc4568 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=mkdir -p /tmp/92ea38ae32fc4568, out=, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:24.208 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] c.o.o.e.internal.template.SshTemplate : SSH execute end: mkdir -p /tmp/92ea38ae32fc4568 on 11.124.5.84,result:SshResult(host=11.124.5.84, username=usertest, command=mkdir -p /tmp/92ea38ae32fc4568, out=, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:24.250 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: echo 1 on 11.124.5.84 2023-07-10 13:56:24.307 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: echo 1 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=echo 1, out=1, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:24.350 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: curl -s -k -o /tmp/92ea38ae32fc4568/pos.py "http://11.162.217.161:8080/api/v2/files/built-in/pos.py" on 11.124.5.84 2023-07-10 13:56:24.427 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: curl -s -k -o /tmp/92ea38ae32fc4568/pos.py "http://11.162.217.161:8080/api/v2/files/built-in/pos.py" on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=curl -s -k -o /tmp/92ea38ae32fc4568/pos.py "http://11.162.217.161:8080/api/v2/files/built-in/pos.py", out=, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:24.429 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] c.o.o.e.internal.template.SshTemplate : SSH execute end: curl -s -k -o /tmp/92ea38ae32fc4568/pos.py "http://11.162.217.161:8080/api/v2/files/built-in/pos.py" on 11.124.5.84,result:SshResult(host=11.124.5.84, username=usertest, command=curl -s -k -o /tmp/92ea38ae32fc4568/pos.py "http://11.162.217.161:8080/api/v2/files/built-in/pos.py", out=, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:24.469 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: echo 1 on 11.124.5.84 2023-07-10 13:56:24.524 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: echo 1 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=echo 1, out=1, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:24.567 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: sha1sum /tmp/92ea38ae32fc4568/pos.py | awk '{ print $1 }' on 11.124.5.84 2023-07-10 13:56:24.622 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: sha1sum /tmp/92ea38ae32fc4568/pos.py | awk '{ print $1 }' on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=sha1sum /tmp/92ea38ae32fc4568/pos.py | awk '{ print $1 }', out=94c5350f98ba9dbb847f4943bb7bf33190d8003c, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:24.624 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] c.o.o.e.internal.template.SshTemplate : SSH execute end: sha1sum /tmp/92ea38ae32fc4568/pos.py | awk '{ print $1 }' on 11.124.5.84,result:SshResult(host=11.124.5.84, username=usertest, command=sha1sum /tmp/92ea38ae32fc4568/pos.py | awk '{ print $1 }', out=94c5350f98ba9dbb847f4943bb7bf33190d8003c, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:24.665 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: echo 1 on 11.124.5.84 2023-07-10 13:56:24.719 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: echo 1 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=echo 1, out=1, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:24.762 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: chmod +x /tmp/92ea38ae32fc4568/pos.py on 11.124.5.84 2023-07-10 13:56:24.821 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: chmod +x /tmp/92ea38ae32fc4568/pos.py on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=chmod +x /tmp/92ea38ae32fc4568/pos.py, out=, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:24.823 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] c.o.o.e.internal.template.SshTemplate : SSH execute end: chmod +x /tmp/92ea38ae32fc4568/pos.py on 11.124.5.84,result:SshResult(host=11.124.5.84, username=usertest, command=chmod +x /tmp/92ea38ae32fc4568/pos.py, out=, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:24.864 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: echo 1 on 11.124.5.84 2023-07-10 13:56:24.920 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: echo 1 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=echo 1, out=1, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:24.963 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: /tmp/92ea38ae32fc4568/pos.py find_package ^t-oceanbase-ocp-agent on 11.124.5.84 2023-07-10 13:56:25.227 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: /tmp/92ea38ae32fc4568/pos.py find_package ^t-oceanbase-ocp-agent on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=/tmp/92ea38ae32fc4568/pos.py find_package ^t-oceanbase-ocp-agent, out=, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:25.230 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] c.o.o.e.internal.template.SshTemplate : SSH execute end: /tmp/92ea38ae32fc4568/pos.py find_package ^t-oceanbase-ocp-agent on 11.124.5.84,result:SshResult(host=11.124.5.84, username=usertest, command=/tmp/92ea38ae32fc4568/pos.py find_package ^t-oceanbase-ocp-agent, out=, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:25.270 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: echo 1 on 11.124.5.84 2023-07-10 13:56:25.327 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: echo 1 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=echo 1, out=1, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:25.370 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: rm -rf /tmp/92ea38ae32fc4568 on 11.124.5.84 2023-07-10 13:56:25.426 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: rm -rf /tmp/92ea38ae32fc4568 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=rm -rf /tmp/92ea38ae32fc4568, out=, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:25.429 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] c.o.o.e.internal.template.SshTemplate : SSH execute end: rm -rf /tmp/92ea38ae32fc4568 on 11.124.5.84,result:SshResult(host=11.124.5.84, username=usertest, command=rm -rf /tmp/92ea38ae32fc4568, out=, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:25.431 WARN 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] c.o.ocp.executor.executor.SshExecutor : package name not found from host:^t-oceanbase-ocp-agent 2023-07-10 13:56:25.432 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] c.a.o.s.t.b.host.InstallOcpAgentTask : [InstallOcpAgentTask] rollback completed 2023-07-10 13:56:25.434 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] c.a.o.s.t.b.host.InstallOcpAgentTask : [InstallOcpAgentTask] started 2023-07-10 13:56:25.436 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] c.a.o.service.task.util.AgentTaskUtils : Create ssh executor from task context 2023-07-10 13:56:25.438 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] c.a.o.service.task.util.AgentTaskUtils : CredentialId in context, use specific credential 2023-07-10 13:56:25.469 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: echo 1 on 11.124.5.84 2023-07-10 13:56:25.522 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: echo 1 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=echo 1, out=1, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:25.565 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: echo 1 on 11.124.5.84 2023-07-10 13:56:25.621 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: echo 1 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=echo 1, out=1, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:25.664 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: netstat -atunlp| awk '{ print $4 }'| grep ":62888" | wc -l on 11.124.5.84 2023-07-10 13:56:25.729 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: netstat -atunlp| awk '{ print $4 }'| grep ":62888" | wc -l on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=netstat -atunlp| awk '{ print $4 }'| grep ":62888" | wc -l, out=(No info could be read for "-p": geteuid()=1385826 but you should be root.) 0, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:25.732 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] c.o.o.e.internal.template.SshTemplate : SSH execute end: netstat -atunlp| awk '{ print $4 }'| grep ":62888" | wc -l on 11.124.5.84,result:SshResult(host=11.124.5.84, username=usertest, command=netstat -atunlp| awk '{ print $4 }'| grep ":62888" | wc -l, out=(No info could be read for "-p": geteuid()=1385826 but you should be root.) 0, err=, extOut=null, exitStatus=0) 2023-07-10 13:56:25.734 INFO 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] c.a.o.c.m.t.model.SubtaskInstanceEntity : Set state for subtask: 1813, current state: RUNNING, new state: FAILED 2023-07-10 13:56:25.737 WARN 52 --- [pool-manual-subtask-executor12,ec9e0457bc2d4346,d6cdc2cfbd97] c.a.o.c.t.engine.runner.RunnerFactory : Execute task failed, subtask=SubtaskInstanceEntity{id=1813, name=Install ocp agent, state=FAILED, operation=RETRY, className=com.alipay.ocp.service.task.business.host.InstallOcpAgentTask, seriesId=4, startTime=2023-07-10T13:56:23.305+08:00, endTime=2023-07-10T13:56:25.736+08:00} java.lang.NumberFormatException: For input string: "(No info could be read for "-p": geteuid()=1385826 but you should be root.) 0" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[na:1.8.0_312] at java.lang.Integer.parseInt(Integer.java:569) ~[na:1.8.0_312] at java.lang.Integer.parseInt(Integer.java:615) ~[na:1.8.0_312] at com.oceanbase.ocp.executor.executor.SshExecutor.checkPortOccupied(SshExecutor.java:246) ~[command-executor-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.service.task.business.host.InstallOcpAgentTask.checkAgentPortsAvailable(InstallOcpAgentTask.java:144) ~[ocp-service-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.service.task.business.host.InstallOcpAgentTask.run(InstallOcpAgentTask.java:64) ~[ocp-service-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.core.task.runtime.Subtask.retry(Subtask.java:49) ~[ocp-core-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.core.metadb.task.model.SubtaskInstanceEntity.retry(SubtaskInstanceEntity.java:237) ~[ocp-core-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.core.task.engine.runner.JavaTaskRunner.doExecute(JavaTaskRunner.java:30) ~[ocp-core-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.core.task.engine.runner.JavaTaskRunner.run(JavaTaskRunner.java:20) ~[ocp-core-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.core.task.engine.runner.RunnerFactory.doRun(RunnerFactory.java:118) ~[ocp-core-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.core.task.engine.runner.RunnerFactory.redirectOutputIfNotSysSchedule(RunnerFactory.java:190) ~[ocp-c ore-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.core.task.engine.runner.RunnerFactory.run(RunnerFactory.java:107) ~[ocp-core-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.core.task.engine.coordinator.worker.subtask.ReadySubtaskWorker.lambda$submitTask$3(ReadySubtaskWorker.java:122) ~[ocp-core-3.3.4-20230605.jar!/:3.3.4-20230605] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_312] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_312] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_312] at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_312] ############{RETRY}{2023-07-10T14:12:48.425+08:00}############ 2023-07-10 14:12:48.430 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] c.a.o.c.m.t.model.SubtaskInstanceEntity : Retry subtask, id=1813, context=Context{parallelIdx=-1, stringMap={host_ip=11.124.5.84, ssh_port=22, prohibit_rollback=false, task_instance_id=1751, task_operation=retry, host_credential_id=7, latest_execution_start_time=2023-07-10T14:12:48.422+08:00, sub_task_instance_id=1813, host_id=4}, listMap={}}, executor=11.162.217.161 2023-07-10 14:12:48.432 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] c.a.o.s.t.b.host.InstallOcpAgentTask : [InstallOcpAgentTask] rollback started 2023-07-10 14:12:48.434 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] c.a.o.service.task.util.AgentTaskUtils : Create ssh executor from task context 2023-07-10 14:12:48.436 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] c.a.o.service.task.util.AgentTaskUtils : CredentialId in context, use specific credential 2023-07-10 14:12:48.461 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: echo 1 on 11.124.5.84 2023-07-10 14:12:48.517 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: echo 1 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=echo 1, out=1, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:48.519 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] c.a.o.s.compute.agent.HostAgentService : Offlining all exporters: hostId=4 2023-07-10 14:12:48.521 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] .s.t.b.h.OcpAgentInstallationTaskService : Deleting host agent records: hostId=4 2023-07-10 14:12:48.523 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] c.a.o.s.compute.agent.HostAgentService : Deleting host agent and processes: hostId=4 2023-07-10 14:12:48.525 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] c.a.o.s.compute.agent.HostAgentService : Finding OCP agent: hostId=4 2023-07-10 14:12:48.529 WARN 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] c.a.o.s.compute.agent.HostAgentService : OCP agent not found: hostId=4 2023-07-10 14:12:48.558 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: echo 1 on 11.124.5.84 2023-07-10 14:12:48.618 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: echo 1 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=echo 1, out=1, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:48.660 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: pgrep -af "ocp_agentd" | grep -cv pgrep | xargs --no-run-if-empty on 11.124.5.84 2023-07-10 14:12:48.726 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: pgrep -af "ocp_agentd" | grep -cv pgrep | xargs --no-run-if-empty on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=pgrep -af "ocp_agentd" | grep -cv pgrep | xargs --no-run-if-empty, out=0, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:48.729 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] c.o.o.e.internal.template.SshTemplate : SSH execute end: pgrep -af "ocp_agentd" | grep -cv pgrep | xargs --no-run-if-empty on 11.124.5.84,result:SshResult(host=11.124.5.84, username=usertest, command=pgrep -af "ocp_agentd" | grep -cv pgrep | xargs --no-run-if-empty, out=0, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:48.769 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: echo 1 on 11.124.5.84 2023-07-10 14:12:48.823 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: echo 1 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=echo 1, out=1, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:48.864 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: pgrep -af "ocp_mgragent" | grep -cv pgrep | xargs --no-run-if-empty on 11.124.5.84 2023-07-10 14:12:48.927 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: pgrep -af "ocp_mgragent" | grep -cv pgrep | xargs --no-run-if-empty on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=pgrep -af "ocp_mgragent" | grep -cv pgrep | xargs --no-run-if-empty, out=0, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:48.929 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] c.o.o.e.internal.template.SshTemplate : SSH execute end: pgrep -af "ocp_mgragent" | grep -cv pgrep | xargs --no-run-if-empty on 11.124.5.84,result:SshResult(host=11.124.5.84, username=usertest, command=pgrep -af "ocp_mgragent" | grep -cv pgrep | xargs --no-run-if-empty, out=0, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:48.970 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: echo 1 on 11.124.5.84 2023-07-10 14:12:49.025 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: echo 1 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=echo 1, out=1, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:49.067 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: pgrep -af "ocp_monagent" | grep -cv pgrep | xargs --no-run-if-empty on 11.124.5.84 2023-07-10 14:12:49.128 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: pgrep -af "ocp_monagent" | grep -cv pgrep | xargs --no-run-if-empty on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=pgrep -af "ocp_monagent" | grep -cv pgrep | xargs --no-run-if-empty, out=0, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:49.130 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] c.o.o.e.internal.template.SshTemplate : SSH execute end: pgrep -af "ocp_monagent" | grep -cv pgrep | xargs --no-run-if-empty on 11.124.5.84,result:SshResult(host=11.124.5.84, username=usertest, command=pgrep -af "ocp_monagent" | grep -cv pgrep | xargs --no-run-if-empty, out=0, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:49.171 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: echo 1 on 11.124.5.84 2023-07-10 14:12:49.229 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: echo 1 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=echo 1, out=1, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:49.272 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: mkdir -p /tmp/505e9ea1cf054102 on 11.124.5.84 2023-07-10 14:12:49.330 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: mkdir -p /tmp/505e9ea1cf054102 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=mkdir -p /tmp/505e9ea1cf054102, out=, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:49.332 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] c.o.o.e.internal.template.SshTemplate : SSH execute end: mkdir -p /tmp/505e9ea1cf054102 on 11.124.5.84,result:SshResult(host=11.124.5.84, username=usertest, command=mkdir -p /tmp/505e9ea1cf054102, out=, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:49.372 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: echo 1 on 11.124.5.84 2023-07-10 14:12:49.430 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: echo 1 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=echo 1, out=1, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:49.472 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: curl -s -k -o /tmp/505e9ea1cf054102/pos.py "http://11.162.217.161:8080/api/v2/files/built-in/pos.py" on 11.124.5.84 2023-07-10 14:12:49.550 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: curl -s -k -o /tmp/505e9ea1cf054102/pos.py "http://11.162.217.161:8080/api/v2/files/built-in/pos.py" on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=curl -s -k -o /tmp/505e9ea1cf054102/pos.py "http://11.162.217.161:8080/api/v2/files/built-in/pos.py", out=, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:49.552 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] c.o.o.e.internal.template.SshTemplate : SSH execute end: curl -s -k -o /tmp/505e9ea1cf054102/pos.py "http://11.162.217.161:8080/api/v2/files/built-in/pos.py" on 11.124.5.84,result:SshResult(host=11.124.5.84, username=usertest, command=curl -s -k -o /tmp/505e9ea1cf054102/pos.py "http://11.162.217.161:8080/api/v2/files/built-in/pos.py", out=, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:49.593 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: echo 1 on 11.124.5.84 2023-07-10 14:12:49.653 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: echo 1 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=echo 1, out=1, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:49.695 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: sha1sum /tmp/505e9ea1cf054102/pos.py | awk '{ print $1 }' on 11.124.5.84 2023-07-10 14:12:49.757 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: sha1sum /tmp/505e9ea1cf054102/pos.py | awk '{ print $1 }' on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=sha1sum /tmp/505e9ea1cf054102/pos.py | awk '{ print $1 }', out=94c5350f98ba9dbb847f4943bb7bf33190d8003c, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:49.759 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] c.o.o.e.internal.template.SshTemplate : SSH execute end: sha1sum /tmp/505e9ea1cf054102/pos.py | awk '{ print $1 }' on 11.124.5.84,result:SshResult(host=11.124.5.84, username=usertest, command=sha1sum /tmp/505e9ea1cf054102/pos.py | awk '{ print $1 }', out=94c5350f98ba9dbb847f4943bb7bf33190d8003c, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:49.799 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: echo 1 on 11.124.5.84 2023-07-10 14:12:49.851 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: echo 1 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=echo 1, out=1, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:49.894 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: chmod +x /tmp/505e9ea1cf054102/pos.py on 11.124.5.84 2023-07-10 14:12:49.951 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: chmod +x /tmp/505e9ea1cf054102/pos.py on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=chmod +x /tmp/505e9ea1cf054102/pos.py, out=, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:49.953 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] c.o.o.e.internal.template.SshTemplate : SSH execute end: chmod +x /tmp/505e9ea1cf054102/pos.py on 11.124.5.84,result:SshResult(host=11.124.5.84, username=usertest, command=chmod +x /tmp/505e9ea1cf054102/pos.py, out=, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:49.994 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: echo 1 on 11.124.5.84 2023-07-10 14:12:50.050 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: echo 1 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=echo 1, out=1, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:50.093 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: /tmp/505e9ea1cf054102/pos.py find_package ^t-oceanbase-ocp-agent on 11.124.5.84 2023-07-10 14:12:50.360 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: /tmp/505e9ea1cf054102/pos.py find_package ^t-oceanbase-ocp-agent on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=/tmp/505e9ea1cf054102/pos.py find_package ^t-oceanbase-ocp-agent, out=, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:50.362 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] c.o.o.e.internal.template.SshTemplate : SSH execute end: /tmp/505e9ea1cf054102/pos.py find_package ^t-oceanbase-ocp-agent on 11.124.5.84,result:SshResult(host=11.124.5.84, username=usertest, command=/tmp/505e9ea1cf054102/pos.py find_package ^t-oceanbase-ocp-agent, out=, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:50.403 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: echo 1 on 11.124.5.84 2023-07-10 14:12:50.467 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: echo 1 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=echo 1, out=1, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:50.509 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: rm -rf /tmp/505e9ea1cf054102 on 11.124.5.84 2023-07-10 14:12:50.568 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: rm -rf /tmp/505e9ea1cf054102 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=rm -rf /tmp/505e9ea1cf054102, out=, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:50.570 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] c.o.o.e.internal.template.SshTemplate : SSH execute end: rm -rf /tmp/505e9ea1cf054102 on 11.124.5.84,result:SshResult(host=11.124.5.84, username=usertest, command=rm -rf /tmp/505e9ea1cf054102, out=, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:50.573 WARN 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] c.o.ocp.executor.executor.SshExecutor : package name not found from host:^t-oceanbase-ocp-agent 2023-07-10 14:12:50.574 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] c.a.o.s.t.b.host.InstallOcpAgentTask : [InstallOcpAgentTask] rollback completed 2023-07-10 14:12:50.576 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] c.a.o.s.t.b.host.InstallOcpAgentTask : [InstallOcpAgentTask] started 2023-07-10 14:12:50.578 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] c.a.o.service.task.util.AgentTaskUtils : Create ssh executor from task context 2023-07-10 14:12:50.580 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] c.a.o.service.task.util.AgentTaskUtils : CredentialId in context, use specific credential 2023-07-10 14:12:50.611 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: echo 1 on 11.124.5.84 2023-07-10 14:12:50.664 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: echo 1 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=echo 1, out=1, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:50.706 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: echo 1 on 11.124.5.84 2023-07-10 14:12:50.760 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: echo 1 on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=echo 1, out=1, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:50.802 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand begin: netstat -atunlp| awk '{ print $4 }'| grep ":62888" | wc -l on 11.124.5.84 2023-07-10 14:12:50.867 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] com.alipay.ocp.common.ssh.SshUtils : SSH executeCommand end: netstat -atunlp| awk '{ print $4 }'| grep ":62888" | wc -l on 11.124.5.84, result: SshResult(host=11.124.5.84, username=usertest, command=netstat -atunlp| awk '{ print $4 }'| grep ":62888" | wc -l, out=(No info could be read for "-p": geteuid()=1385826 but you should be root.) 0, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:50.870 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] c.o.o.e.internal.template.SshTemplate : SSH execute end: netstat -atunlp| awk '{ print $4 }'| grep ":62888" | wc -l on 11.124.5.84,result:SshResult(host=11.124.5.84, username=usertest, command=netstat -atunlp| awk '{ print $4 }'| grep ":62888" | wc -l, out=(No info could be read for "-p": geteuid()=1385826 but you should be root.) 0, err=, extOut=null, exitStatus=0) 2023-07-10 14:12:50.872 INFO 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] c.a.o.c.m.t.model.SubtaskInstanceEntity : Set state for subtask: 1813, current state: RUNNING, new state: FAILED 2023-07-10 14:12:50.874 WARN 52 --- [pool-manual-subtask-executor13,ec9e0457bc2d4346,9f59eb77206f] c.a.o.c.t.engine.runner.RunnerFactory : Execute task failed, subtask=SubtaskInstanceEntity{id=1813, name=Install ocp agent, state=FAILED, operation=RETRY, className=com.alipay.ocp.service.task.business.host.InstallOcpAgentTask, seriesId=4, startTime=2023-07-10T14:12:48.422+08:00, endTime=2023-07-10T14:12:50.874+08:00} java.lang.NumberFormatException: For input string: "(No info could be read for "-p": geteuid()=1385826 but you should be root.) 0" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[na:1.8.0_312] at java.lang.Integer.parseInt(Integer.java:569) ~[na:1.8.0_312] at java.lang.Integer.parseInt(Integer.java:615) ~[na:1.8.0_312] at com.oceanbase.ocp.executor.executor.SshExecutor.checkPortOccupied(SshExecutor.java:246) ~[command-executor-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.service.task.business.host.InstallOcpAgentTask.checkAgentPortsAvailable(InstallOcpAgentTask.java:144) ~[ocp-service-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.service.task.business.host.InstallOcpAgentTask.run(InstallOcpAgentTask.java:64) ~[ocp-service-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.core.task.runtime.Subtask.retry(Subtask.java:49) ~[ocp-core-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.core.metadb.task.model.SubtaskInstanceEntity.retry(SubtaskInstanceEntity.java:237) ~[ocp-core-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.core.task.engine.runner.JavaTaskRunner.doExecute(JavaTaskRunner.java:30) ~[ocp-core-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.core.task.engine.runner.JavaTaskRunner.run(JavaTaskRunner.java:20) ~[ocp-core-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.core.task.engine.runner.RunnerFactory.doRun(RunnerFactory.java:118) ~[ocp-core-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.core.task.engine.runner.RunnerFactory.redirectOutputIfNotSysSchedule(RunnerFactory.java:190) ~[ocp-c ore-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.core.task.engine.runner.RunnerFactory.run(RunnerFactory.java:107) ~[ocp-core-3.3.4-20230605.jar!/:3.3.4-20230605] at com.alipay.ocp.core.task.engine.coordinator.worker.subtask.ReadySubtaskWorker.lambda$submitTask$3(ReadySubtaskWorker.java:122) ~[ocp-core-3.3.4-20230605.jar!/:3.3.4-20230605] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_312] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_312] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_312] at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_312]