类:com.roy.ActivitiBusinessDemo
/**
* 挂起、激活单个流程实例
*/
@Test
public void suspendSingleProcessInstance(){
// 1、获取流程引擎
ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();
// 2、RuntimeService
RuntimeService runtimeService = processEngine.getRuntimeService();
// 3、通过RuntimeService获取流程实例对象
ProcessInstance instance = runtimeService.createProcessInstanceQuery()
.processInstanceId("85001")
.singleResult();
// 4、得到当前流程实例的暂停状态,true-已暂停 false -激活
boolean suspended = instance.isSuspended();
// 5、获取流程实例id
String instanceId = instance.getId();
// 6、判断是否已经暂停,如果已经暂停,就执行激活操作
if(suspended){
// 如果已经暂停,就执行激活
runtimeService.activateProcessInstanceById(instanceId);
System.out.println("流程实例id:"+instanceId+"已经激活");
}else {
// 7、如果是激活状态,就执行暂停操作
runtimeService.suspendProcessInstanceById(instanceId);
System.out.println("流程实例id:"+instanceId+"已经暂停");
}
}
2023-06-05 22:12:34,466 0 [ main] INFO activiti.engine.ProcessEngines - Initializing process engine using configuration 'file:/D:/workspace/20210614/ActivitiDemo/BasicDemo/target/classes/activiti.cfg.xml'
2023-06-05 22:12:34,468 2 [ main] INFO activiti.engine.ProcessEngines - initializing process engine for resource file:/D:/workspace/20210614/ActivitiDemo/BasicDemo/target/classes/activiti.cfg.xml
2023-06-05 22:12:34,987 521 [ main] DEBUG ry.xml.XmlBeanDefinitionReader - Loaded 2 bean definitions from InputStream resource [resource loaded through InputStream]
2023-06-05 22:12:34,989 523 [ main] DEBUG ort.DefaultListableBeanFactory - Creating shared instance of singleton bean 'processEngineConfiguration'
2023-06-05 22:12:35,437 971 [ main] DEBUG ort.DefaultListableBeanFactory - Creating shared instance of singleton bean 'dataSource'
2023-06-05 22:12:39,153 4687 [ main] DEBUG ProcessEngineConfigurationImpl - database product name: 'MySQL'
2023-06-05 22:12:39,153 4687 [ main] DEBUG ProcessEngineConfigurationImpl - using database type: mysql
2023-06-05 22:12:39,393 4927 [ main] DEBUG ache.ibatis.logging.LogFactory - Logging initialized using 'class org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.ibatis.reflection.Reflector (file:/D:/studysoftware/mavenRepository-gpidea/org/mybatis/mybatis/3.4.5/mybatis-3.4.5.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.apache.ibatis.reflection.Reflector
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2023-06-05 22:12:41,069 6603 [ main] DEBUG mpl.interceptor.LogInterceptor -
2023-06-05 22:12:41,069 6603 [ main] DEBUG mpl.interceptor.LogInterceptor - --- starting SchemaOperationsProcessEngineBuild --------------------------------------------------------
2023-06-05 22:12:41,078 6612 [ main] DEBUG da.DefaultActivitiEngineAgenda - Operation class org.activiti.engine.impl.interceptor.CommandInvoker$1 added to agenda
2023-06-05 22:12:41,089 6623 [ main] DEBUG ti.engine.impl.db.DbSqlSession - Executing performSchemaOperationsProcessEngineBuild with setting true
2023-06-05 22:12:41,089 6623 [ main] DEBUG ansaction.jdbc.JdbcTransaction - Opening JDBC Connection
2023-06-05 22:12:41,111 6645 [ main] DEBUG ansaction.jdbc.JdbcTransaction - Setting autocommit to false on JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]
2023-06-05 22:12:41,181 6715 [ main] DEBUG pertyEntityImpl.selectProperty - ==> Preparing: select * from ACT_GE_PROPERTY where NAME_ = ?
2023-06-05 22:12:41,219 6753 [ main] DEBUG pertyEntityImpl.selectProperty - ==> Parameters: schema.version(String)
2023-06-05 22:12:41,267 6801 [ main] DEBUG pertyEntityImpl.selectProperty - <== Total: 1
2023-06-05 22:12:41,299 6833 [ main] DEBUG ti.engine.impl.db.DbSqlSession - Flushing dbSqlSession
2023-06-05 22:12:41,299 6833 [ main] DEBUG ti.engine.impl.db.DbSqlSession - flush summary: 0 insert, 0 update, 0 delete.
2023-06-05 22:12:41,299 6833 [ main] DEBUG ti.engine.impl.db.DbSqlSession - now executing flush...
2023-06-05 22:12:41,299 6833 [ main] DEBUG aloneMybatisTransactionContext - firing event committing...
2023-06-05 22:12:41,300 6834 [ main] DEBUG aloneMybatisTransactionContext - committing the ibatis sql session...
2023-06-05 22:12:41,300 6834 [ main] DEBUG aloneMybatisTransactionContext - firing event committed...
2023-06-05 22:12:41,301 6835 [ main] DEBUG ansaction.jdbc.JdbcTransaction - Resetting autocommit to true on JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]
2023-06-05 22:12:41,302 6836 [ main] DEBUG ansaction.jdbc.JdbcTransaction - Closing JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]
2023-06-05 22:12:41,302 6836 [ main] DEBUG mpl.interceptor.LogInterceptor - --- SchemaOperationsProcessEngineBuild finished --------------------------------------------------------
2023-06-05 22:12:41,302 6836 [ main] DEBUG mpl.interceptor.LogInterceptor -
2023-06-05 22:12:41,302 6836 [ main] INFO .engine.impl.ProcessEngineImpl - ProcessEngine default created
2023-06-05 22:12:41,322 6856 [ main] DEBUG mpl.interceptor.LogInterceptor -
2023-06-05 22:12:41,322 6856 [ main] DEBUG mpl.interceptor.LogInterceptor - --- starting ValidateExecutionRelatedEntityCountCfgCmd --------------------------------------------------------
2023-06-05 22:12:41,322 6856 [ main] DEBUG da.DefaultActivitiEngineAgenda - Operation class org.activiti.engine.impl.interceptor.CommandInvoker$1 added to agenda
2023-06-05 22:12:41,322 6856 [ main] DEBUG ansaction.jdbc.JdbcTransaction - Opening JDBC Connection
2023-06-05 22:12:41,325 6859 [ main] DEBUG ansaction.jdbc.JdbcTransaction - Setting autocommit to false on JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]
2023-06-05 22:12:41,326 6860 [ main] DEBUG pertyEntityImpl.selectProperty - ==> Preparing: select * from ACT_GE_PROPERTY where NAME_ = ?
2023-06-05 22:12:41,326 6860 [ main] DEBUG pertyEntityImpl.selectProperty - ==> Parameters: cfg.execution-related-entities-count(String)
2023-06-05 22:12:41,327 6861 [ main] DEBUG pertyEntityImpl.selectProperty - <== Total: 1
2023-06-05 22:12:41,327 6861 [ main] DEBUG ti.engine.impl.db.DbSqlSession - Flushing dbSqlSession
2023-06-05 22:12:41,327 6861 [ main] DEBUG ti.engine.impl.db.DbSqlSession - flush summary: 0 insert, 0 update, 0 delete.
2023-06-05 22:12:41,327 6861 [ main] DEBUG ti.engine.impl.db.DbSqlSession - now executing flush...
2023-06-05 22:12:41,327 6861 [ main] DEBUG aloneMybatisTransactionContext - firing event committing...
2023-06-05 22:12:41,327 6861 [ main] DEBUG aloneMybatisTransactionContext - committing the ibatis sql session...
2023-06-05 22:12:41,328 6862 [ main] DEBUG aloneMybatisTransactionContext - firing event committed...
2023-06-05 22:12:41,328 6862 [ main] DEBUG ansaction.jdbc.JdbcTransaction - Resetting autocommit to true on JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]
2023-06-05 22:12:41,330 6864 [ main] DEBUG ansaction.jdbc.JdbcTransaction - Closing JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]
2023-06-05 22:12:41,330 6864 [ main] DEBUG mpl.interceptor.LogInterceptor - --- ValidateExecutionRelatedEntityCountCfgCmd finished --------------------------------------------------------
2023-06-05 22:12:41,330 6864 [ main] DEBUG mpl.interceptor.LogInterceptor -
2023-06-05 22:12:41,330 6864 [ main] INFO activiti.engine.ProcessEngines - initialised process engine default
2023-06-05 22:12:41,335 6869 [ main] DEBUG mpl.interceptor.LogInterceptor -
2023-06-05 22:12:41,335 6869 [ main] DEBUG mpl.interceptor.LogInterceptor - --- starting ProcessInstanceQueryImpl --------------------------------------------------------
2023-06-05 22:12:41,335 6869 [ main] DEBUG da.DefaultActivitiEngineAgenda - Operation class org.activiti.engine.impl.interceptor.CommandInvoker$1 added to agenda
2023-06-05 22:12:41,620 7154 [ main] DEBUG ansaction.jdbc.JdbcTransaction - Opening JDBC Connection
2023-06-05 22:12:41,621 7155 [ main] DEBUG ansaction.jdbc.JdbcTransaction - Setting autocommit to false on JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]
2023-06-05 22:12:41,621 7155 [ main] DEBUG ProcessInstanceByQueryCriteria - ==> Preparing: select distinct RES.* , P.KEY_ as ProcessDefinitionKey, P.ID_ as ProcessDefinitionId, P.NAME_ as ProcessDefinitionName, P.VERSION_ as ProcessDefinitionVersion, P.DEPLOYMENT_ID_ as DeploymentId, S.PROC_INST_ID_ AS PARENT_PROC_INST_ID_ from ACT_RU_EXECUTION RES inner join ACT_RE_PROCDEF P on RES.PROC_DEF_ID_ = P.ID_ left outer join ACT_RU_EXECUTION S on RES.SUPER_EXEC_ = S.ID_ WHERE RES.PARENT_ID_ is null and RES.ID_ = ? and RES.PROC_INST_ID_ = ? order by RES.ID_ asc LIMIT ? OFFSET ?
2023-06-05 22:12:41,622 7156 [ main] DEBUG ProcessInstanceByQueryCriteria - ==> Parameters: 85001(String), 85001(String), 2147483647(Integer), 0(Integer)
2023-06-05 22:12:41,639 7173 [ main] DEBUG ProcessInstanceByQueryCriteria - <== Total: 1
2023-06-05 22:12:41,640 7174 [ main] DEBUG ti.engine.impl.db.DbSqlSession - Flushing dbSqlSession
2023-06-05 22:12:41,641 7175 [ main] DEBUG ti.engine.impl.db.DbSqlSession - flush summary: 0 insert, 0 update, 0 delete.
2023-06-05 22:12:41,642 7176 [ main] DEBUG ti.engine.impl.db.DbSqlSession - now executing flush...
2023-06-05 22:12:41,643 7177 [ main] DEBUG aloneMybatisTransactionContext - firing event committing...
2023-06-05 22:12:41,643 7177 [ main] DEBUG aloneMybatisTransactionContext - committing the ibatis sql session...
2023-06-05 22:12:41,643 7177 [ main] DEBUG aloneMybatisTransactionContext - firing event committed...
2023-06-05 22:12:41,646 7180 [ main] DEBUG ansaction.jdbc.JdbcTransaction - Resetting autocommit to true on JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]
2023-06-05 22:12:41,647 7181 [ main] DEBUG ansaction.jdbc.JdbcTransaction - Closing JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]
2023-06-05 22:12:41,648 7182 [ main] DEBUG mpl.interceptor.LogInterceptor - --- ProcessInstanceQueryImpl finished --------------------------------------------------------
2023-06-05 22:12:41,648 7182 [ main] DEBUG mpl.interceptor.LogInterceptor -
2023-06-05 22:13:57,682 83216 [ main] DEBUG mpl.interceptor.LogInterceptor -
2023-06-05 22:13:58,752 84286 [ main] DEBUG mpl.interceptor.LogInterceptor - --- starting SuspendProcessInstanceCmd --------------------------------------------------------
2023-06-05 22:14:03,703 89237 [ main] DEBUG da.DefaultActivitiEngineAgenda - Operation class org.activiti.engine.impl.interceptor.CommandInvoker$1 added to agenda
2023-06-05 22:14:03,705 89239 [ main] DEBUG ansaction.jdbc.JdbcTransaction - Opening JDBC Connection
2023-06-05 22:14:03,709 89243 [ main] DEBUG ansaction.jdbc.JdbcTransaction - Setting autocommit to false on JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]
2023-06-05 22:14:03,715 89249 [ main] DEBUG tionEntityImpl.selectExecution - ==> Preparing: select E.*, S.PROC_INST_ID_ AS PARENT_PROC_INST_ID_ from ACT_RU_EXECUTION E LEFT OUTER JOIN ACT_RU_EXECUTION S ON E.SUPER_EXEC_ = S.ID_ where E.ID_ = ?
2023-06-05 22:14:03,717 89251 [ main] DEBUG tionEntityImpl.selectExecution - ==> Parameters: 85001(String)
2023-06-05 22:14:03,739 89273 [ main] DEBUG tionEntityImpl.selectExecution - <== Total: 1
2023-06-05 22:14:03,743 89277 [ main] DEBUG dExecutionsByProcessInstanceId - ==> Preparing: select E.*, S.PROC_INST_ID_ AS PARENT_PROC_INST_ID_ from ACT_RU_EXECUTION E LEFT OUTER JOIN ACT_RU_EXECUTION S ON E.SUPER_EXEC_ = S.ID_ where E.PROC_INST_ID_ = ? and E.PARENT_ID_ is not null
2023-06-05 22:14:03,744 89278 [ main] DEBUG dExecutionsByProcessInstanceId - ==> Parameters: 85001(String)
2023-06-05 22:14:03,766 89300 [ main] DEBUG dExecutionsByProcessInstanceId - <== Total: 1
2023-06-05 22:14:03,767 89301 [ main] DEBUG selectTasksByProcessInstanceId - ==> Preparing: select T.* from ACT_RU_TASK T where T.PROC_INST_ID_ = ?
2023-06-05 22:14:03,768 89302 [ main] DEBUG selectTasksByProcessInstanceId - ==> Parameters: 85001(String)
2023-06-05 22:14:03,783 89317 [ main] DEBUG selectTasksByProcessInstanceId - <== Total: 1
2023-06-05 22:14:03,784 89318 [ main] DEBUG ctTimerJobsByProcessInstanceId - ==> Preparing: select * from ACT_RU_TIMER_JOB J where J.PROCESS_INSTANCE_ID_ = ?
2023-06-05 22:14:03,785 89319 [ main] DEBUG ctTimerJobsByProcessInstanceId - ==> Parameters: 85001(String)
2023-06-05 22:14:03,796 89330 [ main] DEBUG ctTimerJobsByProcessInstanceId - <== Total: 0
2023-06-05 22:14:03,797 89331 [ main] DEBUG .selectJobsByProcessInstanceId - ==> Preparing: select * from ACT_RU_JOB J where J.PROCESS_INSTANCE_ID_ = ?
2023-06-05 22:14:03,798 89332 [ main] DEBUG .selectJobsByProcessInstanceId - ==> Parameters: 85001(String)
2023-06-05 22:14:03,808 89342 [ main] DEBUG .selectJobsByProcessInstanceId - <== Total: 0
2023-06-05 22:14:03,809 89343 [ main] DEBUG ti.engine.impl.db.DbSqlSession - Flushing dbSqlSession
2023-06-05 22:14:03,809 89343 [ main] DEBUG ti.engine.impl.db.DbSqlSession - update Task[id=85005, name=??????]
2023-06-05 22:14:03,810 89344 [ main] DEBUG ti.engine.impl.db.DbSqlSession - update Execution[ id '85002' ] - activity '_3 - parent '85001'
2023-06-05 22:14:03,810 89344 [ main] DEBUG ti.engine.impl.db.DbSqlSession - update ProcessInstance[85001]
2023-06-05 22:14:03,810 89344 [ main] DEBUG ti.engine.impl.db.DbSqlSession - flush summary: 0 insert, 3 update, 0 delete.
2023-06-05 22:14:03,810 89344 [ main] DEBUG ti.engine.impl.db.DbSqlSession - now executing flush...
2023-06-05 22:14:03,811 89345 [ main] DEBUG ti.engine.impl.db.DbSqlSession - updating: Task[id=85005, name=??????]
2023-06-05 22:14:03,819 89353 [ main] DEBUG tity.TaskEntityImpl.updateTask - ==> Preparing: update ACT_RU_TASK SET REV_ = ?, NAME_ = ?, BUSINESS_KEY_ = ?, PARENT_TASK_ID_ = ?, PRIORITY_ = ?, CREATE_TIME_ = ?, OWNER_ = ?, ASSIGNEE_ = ?, DELEGATION_ = ?, EXECUTION_ID_ = ?, PROC_DEF_ID_ = ?, DESCRIPTION_ = ?, DUE_DATE_ = ?, CATEGORY_ = ?, SUSPENSION_STATE_ = ?, FORM_KEY_ = ?, CLAIM_TIME_ = ? where ID_= ? and REV_ = ?
2023-06-05 22:14:03,826 89360 [ main] DEBUG tity.TaskEntityImpl.updateTask - ==> Parameters: 2(Integer), ??????(String), 1001(String), null, 50(Integer), 2023-06-05 22:00:22.844(Timestamp), null, worker(String), null, 85002(String), myLeave:3:72504(String), null, null, null, 2(Integer), null, null, 85005(String), 1(Integer)
2023-06-05 22:14:04,132 89666 [ main] DEBUG tity.TaskEntityImpl.updateTask - <== Updates: 1
2023-06-05 22:14:04,133 89667 [ main] DEBUG ti.engine.impl.db.DbSqlSession - updating: Execution[ id '85002' ] - activity '_3 - parent '85001'
2023-06-05 22:14:04,135 89669 [ main] DEBUG tionEntityImpl.updateExecution - ==> Preparing: update ACT_RU_EXECUTION set REV_ = ?, BUSINESS_KEY_ = ?, PROC_DEF_ID_ = ?, ACT_ID_ = ?, IS_ACTIVE_ = ?, IS_CONCURRENT_ = ?, IS_SCOPE_ = ?, IS_EVENT_SCOPE_ = ?, IS_MI_ROOT_ = ?, PARENT_ID_ = ?, SUPER_EXEC_ = ?, ROOT_PROC_INST_ID_ = ?, SUSPENSION_STATE_ = ?, NAME_ = ?, IS_COUNT_ENABLED_ = ?, EVT_SUBSCR_COUNT_ = ?, TASK_COUNT_ = ?, JOB_COUNT_ = ?, TIMER_JOB_COUNT_ = ?, SUSP_JOB_COUNT_ = ?, DEADLETTER_JOB_COUNT_ = ?, VAR_COUNT_ = ?, ID_LINK_COUNT_ = ?, APP_VERSION_ = ? where ID_ = ? and REV_ = ?
2023-06-05 22:14:04,145 89679 [ main] DEBUG tionEntityImpl.updateExecution - ==> Parameters: 2(Integer), null, myLeave:3:72504(String), _3(String), true(Boolean), false(Boolean), false(Boolean), false(Boolean), false(Boolean), 85001(String), null, 85001(String), 2(Integer), null, false(Boolean), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), null, 85002(String), 1(Integer)
2023-06-05 22:14:04,149 89683 [ main] DEBUG tionEntityImpl.updateExecution - <== Updates: 1
2023-06-05 22:14:04,149 89683 [ main] DEBUG ti.engine.impl.db.DbSqlSession - updating: ProcessInstance[85001]
2023-06-05 22:14:04,151 89685 [ main] DEBUG tionEntityImpl.updateExecution - ==> Preparing: update ACT_RU_EXECUTION set REV_ = ?, BUSINESS_KEY_ = ?, PROC_DEF_ID_ = ?, ACT_ID_ = ?, IS_ACTIVE_ = ?, IS_CONCURRENT_ = ?, IS_SCOPE_ = ?, IS_EVENT_SCOPE_ = ?, IS_MI_ROOT_ = ?, PARENT_ID_ = ?, SUPER_EXEC_ = ?, ROOT_PROC_INST_ID_ = ?, SUSPENSION_STATE_ = ?, NAME_ = ?, IS_COUNT_ENABLED_ = ?, EVT_SUBSCR_COUNT_ = ?, TASK_COUNT_ = ?, JOB_COUNT_ = ?, TIMER_JOB_COUNT_ = ?, SUSP_JOB_COUNT_ = ?, DEADLETTER_JOB_COUNT_ = ?, VAR_COUNT_ = ?, ID_LINK_COUNT_ = ?, APP_VERSION_ = ? where ID_ = ? and REV_ = ?
2023-06-05 22:14:04,162 89696 [ main] DEBUG tionEntityImpl.updateExecution - ==> Parameters: 2(Integer), 1001(String), myLeave:3:72504(String), null, true(Boolean), false(Boolean), true(Boolean), false(Boolean), false(Boolean), null, null, 85001(String), 2(Integer), null, false(Boolean), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), null, 85001(String), 1(Integer)
2023-06-05 22:14:04,168 89702 [ main] DEBUG tionEntityImpl.updateExecution - <== Updates: 1
2023-06-05 22:14:04,168 89702 [ main] DEBUG aloneMybatisTransactionContext - firing event committing...
2023-06-05 22:14:04,168 89702 [ main] DEBUG aloneMybatisTransactionContext - committing the ibatis sql session...
2023-06-05 22:14:04,171 89705 [ main] DEBUG ansaction.jdbc.JdbcTransaction - Committing JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]
2023-06-05 22:14:04,211 89745 [ main] DEBUG aloneMybatisTransactionContext - firing event committed...
2023-06-05 22:14:04,213 89747 [ main] DEBUG ansaction.jdbc.JdbcTransaction - Resetting autocommit to true on JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]
2023-06-05 22:14:04,219 89753 [ main] DEBUG ansaction.jdbc.JdbcTransaction - Closing JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]
2023-06-05 22:14:06,024 91558 [ main] DEBUG mpl.interceptor.LogInterceptor - --- SuspendProcessInstanceCmd finished --------------------------------------------------------
2023-06-05 22:14:08,920 94454 [ main] DEBUG mpl.interceptor.LogInterceptor -
流程实例id:85001已经暂停
Disconnected from the target VM, address: '127.0.0.1:58037', transport: 'socket'
Process finished with exit code 0