Testsuite: org.apache.catalina.startup.TestHostConfigAutomaticDeploymentA Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.339 sec ------------- Standard Error ----------------- 16-Feb-2024 17:07:40.527 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlDirRemoveDir] 16-Feb-2024 17:07:41.941 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 16-Feb-2024 17:07:42.114 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 17:07:42.115 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 16-Feb-2024 17:07:42.155 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39509"] 16-Feb-2024 17:07:42.175 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] 16-Feb-2024 17:07:42.559 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 16-Feb-2024 17:07:43.734 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] has finished in [1,557] ms 16-Feb-2024 17:07:44.236 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 16-Feb-2024 17:07:44.276 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39509"] 16-Feb-2024 17:07:44.288 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 17:07:44.289 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39509"] 16-Feb-2024 17:07:44.299 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39509"] 16-Feb-2024 17:07:44.320 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlDirRemoveXml] 16-Feb-2024 17:07:44.352 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 16-Feb-2024 17:07:44.466 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 17:07:44.466 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 16-Feb-2024 17:07:44.467 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33651"] 16-Feb-2024 17:07:44.471 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] 16-Feb-2024 17:07:44.492 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 16-Feb-2024 17:07:45.407 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] has finished in [936] ms 16-Feb-2024 17:07:45.908 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 16-Feb-2024 17:07:45.911 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp] 16-Feb-2024 17:07:46.450 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp] has finished in [539] ms 16-Feb-2024 17:07:46.451 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33651"] 16-Feb-2024 17:07:46.452 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 17:07:46.453 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33651"] 16-Feb-2024 17:07:46.454 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33651"] 16-Feb-2024 17:07:46.477 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlWarDirRemoveDir] 16-Feb-2024 17:07:46.480 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 16-Feb-2024 17:07:46.621 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 17:07:46.621 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 16-Feb-2024 17:07:46.622 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-46423"] 16-Feb-2024 17:07:46.646 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] 16-Feb-2024 17:07:46.669 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 16-Feb-2024 17:07:47.192 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] has finished in [546] ms 16-Feb-2024 17:07:47.693 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 16-Feb-2024 17:07:47.701 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp.war] 16-Feb-2024 17:07:48.075 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp.war] has finished in [374] ms 16-Feb-2024 17:07:48.075 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-46423"] 16-Feb-2024 17:07:48.076 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 17:07:48.078 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-46423"] 16-Feb-2024 17:07:48.079 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-46423"] 16-Feb-2024 17:07:48.087 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlWarDirRemoveWar] 16-Feb-2024 17:07:48.092 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 16-Feb-2024 17:07:48.107 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 17:07:48.107 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 16-Feb-2024 17:07:48.110 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41761"] 16-Feb-2024 17:07:48.113 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] 16-Feb-2024 17:07:48.122 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 16-Feb-2024 17:07:48.393 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] has finished in [280] ms 16-Feb-2024 17:07:48.394 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 16-Feb-2024 17:07:48.396 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41761"] 16-Feb-2024 17:07:48.398 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 17:07:48.398 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41761"] 16-Feb-2024 17:07:48.398 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41761"] 16-Feb-2024 17:07:48.403 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlWarDirRemoveXml] 16-Feb-2024 17:07:48.406 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 16-Feb-2024 17:07:48.464 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 17:07:48.465 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 16-Feb-2024 17:07:48.465 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39003"] 16-Feb-2024 17:07:48.475 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] 16-Feb-2024 17:07:48.488 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 16-Feb-2024 17:07:48.881 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] has finished in [406] ms 16-Feb-2024 17:07:49.383 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 16-Feb-2024 17:07:49.387 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp.war] 16-Feb-2024 17:07:49.706 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp.war] has finished in [320] ms 16-Feb-2024 17:07:49.707 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39003"] 16-Feb-2024 17:07:49.708 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 17:07:49.709 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39003"] 16-Feb-2024 17:07:49.710 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39003"] 16-Feb-2024 17:07:49.715 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlDirRemoveXmlCopyXml] 16-Feb-2024 17:07:49.718 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 16-Feb-2024 17:07:49.813 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 17:07:49.814 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 16-Feb-2024 17:07:49.814 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40317"] 16-Feb-2024 17:07:49.836 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] 16-Feb-2024 17:07:49.845 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 16-Feb-2024 17:07:50.131 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] has finished in [294] ms 16-Feb-2024 17:07:50.632 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 16-Feb-2024 17:07:50.634 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp] 16-Feb-2024 17:07:50.908 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp] has finished in [273] ms 16-Feb-2024 17:07:50.909 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40317"] 16-Feb-2024 17:07:50.910 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 17:07:50.918 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40317"] 16-Feb-2024 17:07:50.920 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40317"] 16-Feb-2024 17:07:50.931 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlWarRemoveXmlCopyXml] 16-Feb-2024 17:07:50.943 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 16-Feb-2024 17:07:50.950 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 17:07:50.950 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 16-Feb-2024 17:07:50.951 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45041"] 16-Feb-2024 17:07:50.953 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] 16-Feb-2024 17:07:50.962 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 16-Feb-2024 17:07:51.251 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] has finished in [298] ms 16-Feb-2024 17:07:51.752 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 16-Feb-2024 17:07:51.756 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp.war] 16-Feb-2024 17:07:52.094 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp.war] has finished in [334] ms 16-Feb-2024 17:07:52.095 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45041"] 16-Feb-2024 17:07:52.096 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 17:07:52.102 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45041"] 16-Feb-2024 17:07:52.103 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45041"] 16-Feb-2024 17:07:52.108 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteWarRemoveWar] 16-Feb-2024 17:07:52.112 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 16-Feb-2024 17:07:52.118 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 17:07:52.118 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 16-Feb-2024 17:07:52.120 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37225"] 16-Feb-2024 17:07:52.131 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp.war] 16-Feb-2024 17:07:52.140 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 16-Feb-2024 17:07:52.556 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp.war] has finished in [425] ms 16-Feb-2024 17:07:52.557 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 16-Feb-2024 17:07:52.565 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37225"] 16-Feb-2024 17:07:52.567 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 17:07:52.568 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37225"] 16-Feb-2024 17:07:52.570 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37225"] 16-Feb-2024 17:07:52.582 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlWarDirRemoveXmlCopyXml] 16-Feb-2024 17:07:52.585 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 16-Feb-2024 17:07:52.621 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 17:07:52.622 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 16-Feb-2024 17:07:52.622 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43983"] 16-Feb-2024 17:07:52.630 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] 16-Feb-2024 17:07:52.637 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 16-Feb-2024 17:07:52.925 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] has finished in [294] ms 16-Feb-2024 17:07:53.426 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 16-Feb-2024 17:07:53.430 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp.war] 16-Feb-2024 17:07:53.745 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp.war] has finished in [305] ms 16-Feb-2024 17:07:53.745 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43983"] 16-Feb-2024 17:07:53.746 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 17:07:53.748 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43983"] 16-Feb-2024 17:07:53.748 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43983"] 16-Feb-2024 17:07:53.751 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlWarDirRemoveDirCopyXml] 16-Feb-2024 17:07:53.774 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 16-Feb-2024 17:07:53.811 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 17:07:53.811 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 16-Feb-2024 17:07:53.812 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42649"] 16-Feb-2024 17:07:53.814 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] 16-Feb-2024 17:07:53.822 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 16-Feb-2024 17:07:54.105 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] has finished in [292] ms 16-Feb-2024 17:07:54.608 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 16-Feb-2024 17:07:54.611 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp.war] 16-Feb-2024 17:07:55.230 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp.war] has finished in [619] ms 16-Feb-2024 17:07:55.232 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42649"] 16-Feb-2024 17:07:55.233 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 17:07:55.237 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42649"] 16-Feb-2024 17:07:55.239 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42649"] 16-Feb-2024 17:07:55.245 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteDirRemoveDir] 16-Feb-2024 17:07:55.250 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 16-Feb-2024 17:07:55.269 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 17:07:55.270 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 16-Feb-2024 17:07:55.271 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44739"] 16-Feb-2024 17:07:55.272 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp] 16-Feb-2024 17:07:55.279 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 16-Feb-2024 17:07:55.553 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp] has finished in [280] ms 16-Feb-2024 17:07:56.053 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 16-Feb-2024 17:07:56.056 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44739"] 16-Feb-2024 17:07:56.059 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 17:07:56.059 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44739"] 16-Feb-2024 17:07:56.060 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44739"] 16-Feb-2024 17:07:56.063 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlRemoveXml] 16-Feb-2024 17:07:56.065 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 16-Feb-2024 17:07:56.069 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 17:07:56.069 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 16-Feb-2024 17:07:56.069 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-12-32939"] 16-Feb-2024 17:07:56.070 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] 16-Feb-2024 17:07:56.074 SEVERE [main] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] java.lang.IllegalStateException: Error starting child at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:686) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:658) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:661) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:680) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1844) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:575) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:466) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1633) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:308) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:114) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1098) at org.apache.catalina.startup.TestHostConfigAutomaticDeploymentA.doTestDelete(TestHostConfigAutomaticDeploymentA.java:303) at org.apache.catalina.startup.TestHostConfigAutomaticDeploymentA.testDeleteXmlRemoveXml(TestHostConfigAutomaticDeploymentA.java:142) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:50) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1197) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1042) Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@e3c0e40] at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:419) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:186) at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4575) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4708) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:683) ... 45 more Caused by: java.lang.IllegalArgumentException: The main resource set specified [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp] is not a directory or war file, or is not readable (it does not exist or permissions to access it are missing) at org.apache.catalina.webresources.StandardRoot.createMainResourceSet(StandardRoot.java:749) at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:707) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171) ... 49 more 16-Feb-2024 17:07:56.076 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] has finished in [5] ms 16-Feb-2024 17:07:56.576 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 16-Feb-2024 17:07:56.579 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-12-32939"] 16-Feb-2024 17:07:56.580 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 17:07:56.581 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-12-32939"] 16-Feb-2024 17:07:56.582 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12-32939"] 16-Feb-2024 17:07:56.586 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteWarDirRemoveDir] 16-Feb-2024 17:07:56.588 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 16-Feb-2024 17:07:56.602 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 17:07:56.602 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 16-Feb-2024 17:07:56.603 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40529"] 16-Feb-2024 17:07:56.605 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp.war] 16-Feb-2024 17:07:56.617 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 16-Feb-2024 17:07:56.864 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp.war] has finished in [259] ms 16-Feb-2024 17:07:57.365 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 16-Feb-2024 17:07:57.368 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp.war] 16-Feb-2024 17:07:57.637 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp.war] has finished in [268] ms 16-Feb-2024 17:07:57.637 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40529"] 16-Feb-2024 17:07:57.638 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 17:07:57.639 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40529"] 16-Feb-2024 17:07:57.640 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40529"] 16-Feb-2024 17:07:57.643 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteWarDirRemoveWar] 16-Feb-2024 17:07:57.645 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 16-Feb-2024 17:07:57.655 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 17:07:57.655 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 16-Feb-2024 17:07:57.656 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-45867"] 16-Feb-2024 17:07:57.667 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp.war] 16-Feb-2024 17:07:57.677 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 16-Feb-2024 17:07:57.924 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp.war] has finished in [257] ms 16-Feb-2024 17:07:57.924 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 16-Feb-2024 17:07:57.927 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-45867"] 16-Feb-2024 17:07:57.927 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 17:07:57.927 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-45867"] 16-Feb-2024 17:07:57.928 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-45867"] 16-Feb-2024 17:07:57.930 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlExtwarDirRemoveDir] 16-Feb-2024 17:07:57.933 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 16-Feb-2024 17:07:57.936 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 17:07:57.936 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 16-Feb-2024 17:07:57.936 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-39875"] 16-Feb-2024 17:07:57.937 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] 16-Feb-2024 17:07:57.942 WARNING [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] with an external docBase means the directory [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp] in the appBase will be ignored 16-Feb-2024 17:07:57.947 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 16-Feb-2024 17:07:58.161 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] has finished in [224] ms 16-Feb-2024 17:07:58.662 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 16-Feb-2024 17:07:58.664 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] 16-Feb-2024 17:07:58.923 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] has finished in [259] ms 16-Feb-2024 17:07:58.923 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-39875"] 16-Feb-2024 17:07:58.924 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 17:07:58.925 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-39875"] 16-Feb-2024 17:07:58.926 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-39875"] 16-Feb-2024 17:07:58.929 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlExtwarDirRemoveExt] 16-Feb-2024 17:07:58.935 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-16"] 16-Feb-2024 17:07:58.947 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 17:07:58.947 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 16-Feb-2024 17:07:58.947 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-16-37511"] 16-Feb-2024 17:07:58.950 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] 16-Feb-2024 17:07:58.951 WARNING [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] with an external docBase means the directory [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp] in the appBase will be ignored 16-Feb-2024 17:07:58.957 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 16-Feb-2024 17:07:59.216 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] has finished in [266] ms 16-Feb-2024 17:07:59.220 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 16-Feb-2024 17:07:59.228 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] 16-Feb-2024 17:07:59.230 SEVERE [main] org.apache.catalina.startup.ContextConfig.beforeStart Exception fixing docBase for context [/myapp] java.io.FileNotFoundException: /home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/external/external.war (No such file or directory) at java.base/java.io.FileInputStream.open0(Native Method) at java.base/java.io.FileInputStream.open(FileInputStream.java:216) at java.base/java.io.FileInputStream.(FileInputStream.java:157) at java.base/java.io.FileInputStream.(FileInputStream.java:111) at java.base/sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:86) at java.base/sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:189) at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:86) at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:801) at org.apache.catalina.startup.ContextConfig.beforeStart(ContextConfig.java:937) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:292) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:114) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:170) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:683) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:658) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:661) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:680) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1844) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:575) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:466) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1633) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:308) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:114) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1098) at org.apache.catalina.startup.TestHostConfigAutomaticDeploymentA.doTestDelete(TestHostConfigAutomaticDeploymentA.java:324) at org.apache.catalina.startup.TestHostConfigAutomaticDeploymentA.testDeleteXmlExtwarDirRemoveExt(TestHostConfigAutomaticDeploymentA.java:197) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:50) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1197) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1042) 16-Feb-2024 17:07:59.233 SEVERE [main] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] java.lang.IllegalStateException: Error starting child at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:686) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:658) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:661) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:680) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1844) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:575) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:466) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1633) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:308) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:114) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1098) at org.apache.catalina.startup.TestHostConfigAutomaticDeploymentA.doTestDelete(TestHostConfigAutomaticDeploymentA.java:324) at org.apache.catalina.startup.TestHostConfigAutomaticDeploymentA.testDeleteXmlExtwarDirRemoveExt(TestHostConfigAutomaticDeploymentA.java:197) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:50) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1197) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1042) Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@5c45d770] at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:419) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:186) at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4575) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4708) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:683) ... 45 more Caused by: java.lang.IllegalArgumentException: The main resource set specified [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/external/external.war] is not a directory or war file, or is not readable (it does not exist or permissions to access it are missing) at org.apache.catalina.webresources.StandardRoot.createMainResourceSet(StandardRoot.java:749) at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:707) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171) ... 49 more 16-Feb-2024 17:07:59.235 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] has finished in [7] ms 16-Feb-2024 17:07:59.236 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-16-37511"] 16-Feb-2024 17:07:59.242 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 17:07:59.242 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-16-37511"] 16-Feb-2024 17:07:59.243 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-16-37511"] 16-Feb-2024 17:07:59.246 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlExtwarDirRemoveXml] 16-Feb-2024 17:07:59.249 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-17"] 16-Feb-2024 17:07:59.256 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 17:07:59.256 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 16-Feb-2024 17:07:59.257 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-17-35071"] 16-Feb-2024 17:07:59.258 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] 16-Feb-2024 17:07:59.260 WARNING [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] with an external docBase means the directory [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp] in the appBase will be ignored 16-Feb-2024 17:07:59.265 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 16-Feb-2024 17:07:59.521 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] has finished in [263] ms 16-Feb-2024 17:08:00.022 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 16-Feb-2024 17:08:00.024 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-17-35071"] 16-Feb-2024 17:08:00.024 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 17:08:00.025 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-17-35071"] 16-Feb-2024 17:08:00.025 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-17-35071"] 16-Feb-2024 17:08:00.027 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlExtwarRemoveExt] 16-Feb-2024 17:08:00.029 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-18"] 16-Feb-2024 17:08:00.043 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 17:08:00.044 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 16-Feb-2024 17:08:00.044 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-18-33811"] 16-Feb-2024 17:08:00.050 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] 16-Feb-2024 17:08:00.057 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 16-Feb-2024 17:08:00.360 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] has finished in [310] ms 16-Feb-2024 17:08:00.360 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 16-Feb-2024 17:08:00.370 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] 16-Feb-2024 17:08:00.373 SEVERE [main] org.apache.catalina.startup.ContextConfig.beforeStart Exception fixing docBase for context [/myapp] java.nio.file.NoSuchFileException: /home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/external/external.war at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55) at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:148) at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99) at java.base/java.nio.file.Files.readAttributes(Files.java:1851) at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1264) at java.base/java.util.zip.ZipFile$CleanableResource.(ZipFile.java:709) at java.base/java.util.zip.ZipFile.(ZipFile.java:243) at java.base/java.util.zip.ZipFile.(ZipFile.java:172) at java.base/java.util.jar.JarFile.(JarFile.java:347) at java.base/sun.net.www.protocol.jar.URLJarFile.(URLJarFile.java:103) at java.base/sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:72) at java.base/sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:168) at java.base/sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:131) at java.base/sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:92) at org.apache.catalina.startup.ExpandWar.validate(ExpandWar.java:206) at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:807) at org.apache.catalina.startup.ContextConfig.beforeStart(ContextConfig.java:937) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:292) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:114) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:170) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:683) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:658) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:661) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:680) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1844) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:575) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:466) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1633) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:308) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:114) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1098) at org.apache.catalina.startup.TestHostConfigAutomaticDeploymentA.doTestDelete(TestHostConfigAutomaticDeploymentA.java:324) at org.apache.catalina.startup.TestHostConfigAutomaticDeploymentA.testDeleteXmlExtwarRemoveExt(TestHostConfigAutomaticDeploymentA.java:167) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:50) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1197) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1042) 16-Feb-2024 17:08:00.378 SEVERE [main] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] java.lang.IllegalStateException: Error starting child at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:686) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:658) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:661) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:680) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1844) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:575) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:466) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1633) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:308) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:114) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1098) at org.apache.catalina.startup.TestHostConfigAutomaticDeploymentA.doTestDelete(TestHostConfigAutomaticDeploymentA.java:324) at org.apache.catalina.startup.TestHostConfigAutomaticDeploymentA.testDeleteXmlExtwarRemoveExt(TestHostConfigAutomaticDeploymentA.java:167) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:50) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1197) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1042) Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@479ceda0] at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:419) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:186) at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4575) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4708) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:683) ... 45 more Caused by: java.lang.IllegalArgumentException: The main resource set specified [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/external/external.war] is not a directory or war file, or is not readable (it does not exist or permissions to access it are missing) at org.apache.catalina.webresources.StandardRoot.createMainResourceSet(StandardRoot.java:749) at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:707) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171) ... 49 more 16-Feb-2024 17:08:00.386 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] has finished in [16] ms 16-Feb-2024 17:08:00.387 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-18-33811"] 16-Feb-2024 17:08:00.387 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 17:08:00.387 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-18-33811"] 16-Feb-2024 17:08:00.388 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-18-33811"] 16-Feb-2024 17:08:00.391 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlExtwarRemoveXml] 16-Feb-2024 17:08:00.392 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-19"] 16-Feb-2024 17:08:00.418 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 17:08:00.418 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 16-Feb-2024 17:08:00.419 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-19-39587"] 16-Feb-2024 17:08:00.430 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] 16-Feb-2024 17:08:00.436 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 16-Feb-2024 17:08:00.783 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] has finished in [353] ms 16-Feb-2024 17:08:01.283 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 16-Feb-2024 17:08:01.285 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-19-39587"] 16-Feb-2024 17:08:01.288 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 17:08:01.288 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-19-39587"] 16-Feb-2024 17:08:01.289 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-19-39587"] 16-Feb-2024 17:08:01.297 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlExtdirRemoveExt] 16-Feb-2024 17:08:01.301 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-20"] 16-Feb-2024 17:08:01.366 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 17:08:01.366 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 16-Feb-2024 17:08:01.366 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-20-43363"] 16-Feb-2024 17:08:01.378 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] 16-Feb-2024 17:08:01.389 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 16-Feb-2024 17:08:01.679 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] has finished in [301] ms 16-Feb-2024 17:08:01.680 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 16-Feb-2024 17:08:01.682 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] 16-Feb-2024 17:08:01.684 SEVERE [main] org.apache.catalina.startup.ContextConfig.beforeStart Exception fixing docBase for context [/myapp] java.io.FileNotFoundException: /home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/external/external.war (No such file or directory) at java.base/java.io.FileInputStream.open0(Native Method) at java.base/java.io.FileInputStream.open(FileInputStream.java:216) at java.base/java.io.FileInputStream.(FileInputStream.java:157) at java.base/java.io.FileInputStream.(FileInputStream.java:111) at java.base/sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:86) at java.base/sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:189) at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:86) at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:801) at org.apache.catalina.startup.ContextConfig.beforeStart(ContextConfig.java:937) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:292) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:114) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:170) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:683) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:658) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:661) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:680) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1844) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:575) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:466) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1633) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:308) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:114) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1098) at org.apache.catalina.startup.TestHostConfigAutomaticDeploymentA.doTestDelete(TestHostConfigAutomaticDeploymentA.java:324) at org.apache.catalina.startup.TestHostConfigAutomaticDeploymentA.testDeleteXmlExtdirRemoveExt(TestHostConfigAutomaticDeploymentA.java:173) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:50) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1197) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1042) 16-Feb-2024 17:08:01.685 SEVERE [main] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] java.lang.IllegalStateException: Error starting child at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:686) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:658) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:661) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:680) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1844) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:575) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:466) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1633) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:308) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:114) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1098) at org.apache.catalina.startup.TestHostConfigAutomaticDeploymentA.doTestDelete(TestHostConfigAutomaticDeploymentA.java:324) at org.apache.catalina.startup.TestHostConfigAutomaticDeploymentA.testDeleteXmlExtdirRemoveExt(TestHostConfigAutomaticDeploymentA.java:173) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:50) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1197) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1042) Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@4b213651] at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:419) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:186) at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4575) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4708) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:683) ... 45 more Caused by: java.lang.IllegalArgumentException: The main resource set specified [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/external/external.war] is not a directory or war file, or is not readable (it does not exist or permissions to access it are missing) at org.apache.catalina.webresources.StandardRoot.createMainResourceSet(StandardRoot.java:749) at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:707) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171) ... 49 more 16-Feb-2024 17:08:01.686 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] has finished in [4] ms 16-Feb-2024 17:08:01.686 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-20-43363"] 16-Feb-2024 17:08:01.687 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 17:08:01.688 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-20-43363"] 16-Feb-2024 17:08:01.689 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-20-43363"] 16-Feb-2024 17:08:01.692 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlExtdirRemoveXml] 16-Feb-2024 17:08:01.695 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-21"] 16-Feb-2024 17:08:01.712 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 17:08:01.712 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 16-Feb-2024 17:08:01.713 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-21-33917"] 16-Feb-2024 17:08:01.731 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] 16-Feb-2024 17:08:01.737 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 16-Feb-2024 17:08:02.035 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] has finished in [304] ms 16-Feb-2024 17:08:02.536 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 16-Feb-2024 17:08:02.538 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-21-33917"] 16-Feb-2024 17:08:02.539 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 17:08:02.539 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-21-33917"] 16-Feb-2024 17:08:02.543 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-21-33917"] 16-Feb-2024 17:08:02.548 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlWarDirRemoveWarCopyXml] 16-Feb-2024 17:08:02.551 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-22"] 16-Feb-2024 17:08:02.576 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 17:08:02.576 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 16-Feb-2024 17:08:02.577 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-22-38393"] 16-Feb-2024 17:08:02.578 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] 16-Feb-2024 17:08:02.584 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 16-Feb-2024 17:08:02.831 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] has finished in [252] ms 16-Feb-2024 17:08:02.831 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 16-Feb-2024 17:08:02.833 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-22-38393"] 16-Feb-2024 17:08:02.834 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 17:08:02.834 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-22-38393"] 16-Feb-2024 17:08:02.834 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-22-38393"] 16-Feb-2024 17:08:02.839 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlWarRemoveWar] 16-Feb-2024 17:08:02.840 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-23"] 16-Feb-2024 17:08:02.850 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 17:08:02.850 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 16-Feb-2024 17:08:02.850 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-23-42865"] 16-Feb-2024 17:08:02.857 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] 16-Feb-2024 17:08:02.863 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 16-Feb-2024 17:08:03.117 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] has finished in [260] ms 16-Feb-2024 17:08:03.118 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 16-Feb-2024 17:08:03.119 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-23-42865"] 16-Feb-2024 17:08:03.120 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 17:08:03.120 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-23-42865"] 16-Feb-2024 17:08:03.120 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-23-42865"] 16-Feb-2024 17:08:03.124 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlWarRemoveXml] 16-Feb-2024 17:08:03.125 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-24"] 16-Feb-2024 17:08:03.156 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 17:08:03.156 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 16-Feb-2024 17:08:03.156 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-24-44051"] 16-Feb-2024 17:08:03.162 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] 16-Feb-2024 17:08:03.171 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 16-Feb-2024 17:08:03.406 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/conf/Tomcat/localhost/myapp.xml] has finished in [244] ms 16-Feb-2024 17:08:03.910 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 16-Feb-2024 17:08:03.919 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp.war] 16-Feb-2024 17:08:04.210 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/buildslave/slave/tomcat-9.0.x/build/output/test-tmp/test5867482085026411165/webapps/myapp.war] has finished in [292] ms 16-Feb-2024 17:08:04.210 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-24-44051"] 16-Feb-2024 17:08:04.211 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 17:08:04.212 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-24-44051"] 16-Feb-2024 17:08:04.213 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-24-44051"] ------------- ---------------- --------------- Testcase: testDeleteXmlDirRemoveDir took 4.34 sec Testcase: testDeleteXmlDirRemoveXml took 2.157 sec Testcase: testDeleteXmlWarDirRemoveDir took 1.61 sec Testcase: testDeleteXmlWarDirRemoveWar took 0.314 sec Testcase: testDeleteXmlWarDirRemoveXml took 1.314 sec Testcase: testDeleteXmlDirRemoveXmlCopyXml took 1.214 sec Testcase: testDeleteXmlWarRemoveXmlCopyXml took 1.177 sec Testcase: testDeleteWarRemoveWar took 0.473 sec Testcase: testDeleteXmlWarDirRemoveXmlCopyXml took 1.17 sec Testcase: testDeleteXmlWarDirRemoveDirCopyXml took 1.492 sec Testcase: testDeleteDirRemoveDir took 0.819 sec Testcase: testDeleteXmlRemoveXml took 0.522 sec Testcase: testDeleteWarDirRemoveDir took 1.058 sec Testcase: testDeleteWarDirRemoveWar took 0.287 sec Testcase: testDeleteXmlExtwarDirRemoveDir took 0.998 sec Testcase: testDeleteXmlExtwarDirRemoveExt took 0.317 sec Testcase: testDeleteXmlExtwarDirRemoveXml took 0.782 sec Testcase: testDeleteXmlExtwarRemoveExt took 0.363 sec Testcase: testDeleteXmlExtwarRemoveXml took 0.906 sec Testcase: testDeleteXmlExtdirRemoveExt took 0.396 sec Testcase: testDeleteXmlExtdirRemoveXml took 0.855 sec Testcase: testDeleteXmlWarDirRemoveWarCopyXml took 0.29 sec Testcase: testDeleteXmlWarRemoveWar took 0.285 sec Testcase: testDeleteXmlWarRemoveXml took 1.094 sec