Testsuite: org.apache.catalina.startup.TestHostConfigAutomaticDeploymentA Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.531 sec ------------- Standard Error ----------------- 20-Dec-2023 11:26:52.571 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlDirRemoveDir] 20-Dec-2023 11:26:53.893 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 20-Dec-2023 11:26:54.092 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:26:54.094 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:26:54.125 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40445"] 20-Dec-2023 11:26:54.141 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] 20-Dec-2023 11:26:54.411 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 20-Dec-2023 11:26:55.493 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] has finished in [1,351] ms 20-Dec-2023 11:26:55.996 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 20-Dec-2023 11:26:56.038 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40445"] 20-Dec-2023 11:26:56.066 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:26:56.067 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40445"] 20-Dec-2023 11:26:56.082 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40445"] 20-Dec-2023 11:26:56.114 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlDirRemoveXml] 20-Dec-2023 11:26:56.130 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 20-Dec-2023 11:26:56.221 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:26:56.222 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:26:56.223 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41319"] 20-Dec-2023 11:26:56.227 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] 20-Dec-2023 11:26:56.247 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 20-Dec-2023 11:26:56.927 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] has finished in [700] ms 20-Dec-2023 11:26:57.443 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 20-Dec-2023 11:26:57.446 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp] 20-Dec-2023 11:26:58.160 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp] has finished in [714] ms 20-Dec-2023 11:26:58.170 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41319"] 20-Dec-2023 11:26:58.171 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:26:58.183 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41319"] 20-Dec-2023 11:26:58.186 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41319"] 20-Dec-2023 11:26:58.195 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlWarDirRemoveDir] 20-Dec-2023 11:26:58.204 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 20-Dec-2023 11:26:58.386 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:26:58.386 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:26:58.388 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-37749"] 20-Dec-2023 11:26:58.400 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] 20-Dec-2023 11:26:58.417 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 20-Dec-2023 11:26:59.087 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] has finished in [688] ms 20-Dec-2023 11:26:59.591 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 20-Dec-2023 11:26:59.598 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp.war] 20-Dec-2023 11:26:59.893 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp.war] has finished in [295] ms 20-Dec-2023 11:26:59.894 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-37749"] 20-Dec-2023 11:26:59.895 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:26:59.900 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-37749"] 20-Dec-2023 11:26:59.902 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-37749"] 20-Dec-2023 11:26:59.919 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlWarDirRemoveWar] 20-Dec-2023 11:26:59.925 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 20-Dec-2023 11:27:00.059 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:27:00.059 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:27:00.060 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40013"] 20-Dec-2023 11:27:00.082 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] 20-Dec-2023 11:27:00.097 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 20-Dec-2023 11:27:00.457 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] has finished in [375] ms 20-Dec-2023 11:27:00.957 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 20-Dec-2023 11:27:00.960 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40013"] 20-Dec-2023 11:27:00.961 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:27:00.961 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40013"] 20-Dec-2023 11:27:00.962 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40013"] 20-Dec-2023 11:27:00.967 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlWarDirRemoveXml] 20-Dec-2023 11:27:00.974 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 20-Dec-2023 11:27:01.042 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:27:01.043 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:27:01.043 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40133"] 20-Dec-2023 11:27:01.052 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] 20-Dec-2023 11:27:01.083 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 20-Dec-2023 11:27:01.433 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] has finished in [380] ms 20-Dec-2023 11:27:01.938 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 20-Dec-2023 11:27:01.941 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp.war] 20-Dec-2023 11:27:02.302 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp.war] has finished in [360] ms 20-Dec-2023 11:27:02.306 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40133"] 20-Dec-2023 11:27:02.307 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:27:02.309 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40133"] 20-Dec-2023 11:27:02.314 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40133"] 20-Dec-2023 11:27:02.319 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlDirRemoveXmlCopyXml] 20-Dec-2023 11:27:02.322 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 20-Dec-2023 11:27:02.394 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:27:02.394 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:27:02.395 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44655"] 20-Dec-2023 11:27:02.410 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] 20-Dec-2023 11:27:02.422 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 20-Dec-2023 11:27:02.969 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] has finished in [560] ms 20-Dec-2023 11:27:03.470 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 20-Dec-2023 11:27:03.473 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp] 20-Dec-2023 11:27:03.823 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp] has finished in [350] ms 20-Dec-2023 11:27:03.824 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44655"] 20-Dec-2023 11:27:03.825 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:27:03.827 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44655"] 20-Dec-2023 11:27:03.828 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44655"] 20-Dec-2023 11:27:03.831 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlWarRemoveXmlCopyXml] 20-Dec-2023 11:27:03.833 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 20-Dec-2023 11:27:03.883 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:27:03.884 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:27:03.884 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45387"] 20-Dec-2023 11:27:03.903 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] 20-Dec-2023 11:27:03.926 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 20-Dec-2023 11:27:04.252 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] has finished in [348] ms 20-Dec-2023 11:27:04.752 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 20-Dec-2023 11:27:04.757 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp.war] 20-Dec-2023 11:27:05.058 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp.war] has finished in [301] ms 20-Dec-2023 11:27:05.058 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45387"] 20-Dec-2023 11:27:05.059 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:27:05.060 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45387"] 20-Dec-2023 11:27:05.061 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45387"] 20-Dec-2023 11:27:05.065 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteWarRemoveWar] 20-Dec-2023 11:27:05.067 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 20-Dec-2023 11:27:05.086 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:27:05.086 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:27:05.087 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33591"] 20-Dec-2023 11:27:05.106 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp.war] 20-Dec-2023 11:27:05.117 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 20-Dec-2023 11:27:05.406 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp.war] has finished in [301] ms 20-Dec-2023 11:27:05.907 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 20-Dec-2023 11:27:05.910 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33591"] 20-Dec-2023 11:27:05.911 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:27:05.911 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33591"] 20-Dec-2023 11:27:05.912 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33591"] 20-Dec-2023 11:27:05.919 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlWarDirRemoveXmlCopyXml] 20-Dec-2023 11:27:05.923 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 20-Dec-2023 11:27:06.014 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:27:06.014 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:27:06.015 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36125"] 20-Dec-2023 11:27:06.020 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] 20-Dec-2023 11:27:06.031 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 20-Dec-2023 11:27:06.287 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] has finished in [267] ms 20-Dec-2023 11:27:06.788 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 20-Dec-2023 11:27:06.791 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp.war] 20-Dec-2023 11:27:07.195 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp.war] has finished in [404] ms 20-Dec-2023 11:27:07.196 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36125"] 20-Dec-2023 11:27:07.197 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:27:07.199 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36125"] 20-Dec-2023 11:27:07.200 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36125"] 20-Dec-2023 11:27:07.203 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlWarDirRemoveDirCopyXml] 20-Dec-2023 11:27:07.205 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 20-Dec-2023 11:27:07.284 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:27:07.284 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:27:07.285 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44601"] 20-Dec-2023 11:27:07.288 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] 20-Dec-2023 11:27:07.302 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 20-Dec-2023 11:27:07.602 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] has finished in [314] ms 20-Dec-2023 11:27:08.103 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 20-Dec-2023 11:27:08.107 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp.war] 20-Dec-2023 11:27:08.491 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp.war] has finished in [384] ms 20-Dec-2023 11:27:08.492 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44601"] 20-Dec-2023 11:27:08.492 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:27:08.498 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44601"] 20-Dec-2023 11:27:08.506 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44601"] 20-Dec-2023 11:27:08.509 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteDirRemoveDir] 20-Dec-2023 11:27:08.511 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 20-Dec-2023 11:27:08.547 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:27:08.547 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:27:08.548 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44165"] 20-Dec-2023 11:27:08.557 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp] 20-Dec-2023 11:27:08.565 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 20-Dec-2023 11:27:09.083 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp] has finished in [526] ms 20-Dec-2023 11:27:09.584 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 20-Dec-2023 11:27:09.587 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44165"] 20-Dec-2023 11:27:09.588 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:27:09.588 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44165"] 20-Dec-2023 11:27:09.589 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44165"] 20-Dec-2023 11:27:09.592 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlRemoveXml] 20-Dec-2023 11:27:09.594 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 20-Dec-2023 11:27:09.602 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:27:09.602 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:27:09.603 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-12-37309"] 20-Dec-2023 11:27:09.606 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] 20-Dec-2023 11:27:09.610 SEVERE [main] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/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:712) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:643) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1939) 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:536) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:426) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1710) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:305) 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@456d6c1e] 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:4535) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4668) 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-10.1.x/build/output/test-tmp/test10668399135921624575/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 20-Dec-2023 11:27:09.612 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] has finished in [5] ms 20-Dec-2023 11:27:10.112 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 20-Dec-2023 11:27:10.116 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-12-37309"] 20-Dec-2023 11:27:10.116 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:27:10.117 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-12-37309"] 20-Dec-2023 11:27:10.118 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12-37309"] 20-Dec-2023 11:27:10.121 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteWarDirRemoveDir] 20-Dec-2023 11:27:10.123 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 20-Dec-2023 11:27:10.128 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:27:10.128 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:27:10.129 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-38859"] 20-Dec-2023 11:27:10.134 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp.war] 20-Dec-2023 11:27:10.143 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 20-Dec-2023 11:27:10.375 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp.war] has finished in [242] ms 20-Dec-2023 11:27:10.876 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 20-Dec-2023 11:27:10.880 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp.war] 20-Dec-2023 11:27:11.139 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp.war] has finished in [259] ms 20-Dec-2023 11:27:11.139 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-38859"] 20-Dec-2023 11:27:11.143 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:27:11.144 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-38859"] 20-Dec-2023 11:27:11.145 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-38859"] 20-Dec-2023 11:27:11.148 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteWarDirRemoveWar] 20-Dec-2023 11:27:11.151 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 20-Dec-2023 11:27:11.153 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:27:11.154 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:27:11.154 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-35539"] 20-Dec-2023 11:27:11.156 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp.war] 20-Dec-2023 11:27:11.161 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 20-Dec-2023 11:27:11.387 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp.war] has finished in [230] ms 20-Dec-2023 11:27:11.888 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 20-Dec-2023 11:27:11.890 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-35539"] 20-Dec-2023 11:27:11.891 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:27:11.891 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-35539"] 20-Dec-2023 11:27:11.891 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-35539"] 20-Dec-2023 11:27:11.894 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlExtwarDirRemoveDir] 20-Dec-2023 11:27:11.896 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 20-Dec-2023 11:27:11.903 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:27:11.903 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:27:11.904 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-34781"] 20-Dec-2023 11:27:11.906 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] 20-Dec-2023 11:27:11.908 WARNING [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] with an external docBase means the directory [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp] in the appBase will be ignored 20-Dec-2023 11:27:11.920 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 20-Dec-2023 11:27:12.231 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] has finished in [324] ms 20-Dec-2023 11:27:12.732 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 20-Dec-2023 11:27:12.734 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] 20-Dec-2023 11:27:12.987 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] has finished in [253] ms 20-Dec-2023 11:27:12.988 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-34781"] 20-Dec-2023 11:27:12.988 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:27:12.990 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-34781"] 20-Dec-2023 11:27:12.990 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-34781"] 20-Dec-2023 11:27:12.994 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlExtwarDirRemoveExt] 20-Dec-2023 11:27:13.003 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-16"] 20-Dec-2023 11:27:13.033 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:27:13.033 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:27:13.034 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-16-46645"] 20-Dec-2023 11:27:13.035 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] 20-Dec-2023 11:27:13.036 WARNING [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] with an external docBase means the directory [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp] in the appBase will be ignored 20-Dec-2023 11:27:13.045 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 20-Dec-2023 11:27:13.297 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] has finished in [261] ms 20-Dec-2023 11:27:13.797 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 20-Dec-2023 11:27:13.799 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] 20-Dec-2023 11:27:13.803 SEVERE [main] org.apache.catalina.startup.ContextConfig.beforeStart Exception fixing docBase for context [/myapp] java.io.FileNotFoundException: /home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/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:92) at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:825) at org.apache.catalina.startup.ContextConfig.beforeStart(ContextConfig.java:964) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:306) 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:712) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:643) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1939) 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:536) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:426) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1710) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:305) 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) 20-Dec-2023 11:27:13.806 SEVERE [main] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/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:712) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:643) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1939) 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:536) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:426) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1710) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:305) 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@1acaf3d] 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:4535) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4668) 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-10.1.x/build/output/test-tmp/test10668399135921624575/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 20-Dec-2023 11:27:13.809 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] has finished in [9] ms 20-Dec-2023 11:27:13.812 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-16-46645"] 20-Dec-2023 11:27:13.813 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:27:13.813 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-16-46645"] 20-Dec-2023 11:27:13.814 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-16-46645"] 20-Dec-2023 11:27:13.819 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlExtwarDirRemoveXml] 20-Dec-2023 11:27:13.823 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-17"] 20-Dec-2023 11:27:13.854 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:27:13.855 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:27:13.855 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-17-46255"] 20-Dec-2023 11:27:13.869 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] 20-Dec-2023 11:27:13.871 WARNING [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] with an external docBase means the directory [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp] in the appBase will be ignored 20-Dec-2023 11:27:13.877 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 20-Dec-2023 11:27:14.124 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] has finished in [255] ms 20-Dec-2023 11:27:14.625 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 20-Dec-2023 11:27:14.627 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-17-46255"] 20-Dec-2023 11:27:14.628 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:27:14.628 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-17-46255"] 20-Dec-2023 11:27:14.629 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-17-46255"] 20-Dec-2023 11:27:14.637 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlExtwarRemoveExt] 20-Dec-2023 11:27:14.638 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-18"] 20-Dec-2023 11:27:14.697 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:27:14.697 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:27:14.697 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-18-44753"] 20-Dec-2023 11:27:14.701 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] 20-Dec-2023 11:27:14.708 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 20-Dec-2023 11:27:14.941 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] has finished in [240] ms 20-Dec-2023 11:27:15.442 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 20-Dec-2023 11:27:15.444 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] 20-Dec-2023 11:27:15.447 SEVERE [main] org.apache.catalina.startup.ContextConfig.beforeStart Exception fixing docBase for context [/myapp] java.nio.file.NoSuchFileException: /home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/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:221) at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:831) at org.apache.catalina.startup.ContextConfig.beforeStart(ContextConfig.java:964) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:306) 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:712) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:643) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1939) 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:536) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:426) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1710) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:305) 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) 20-Dec-2023 11:27:15.448 SEVERE [main] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/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:712) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:643) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1939) 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:536) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:426) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1710) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:305) 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@28d18df5] 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:4535) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4668) 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-10.1.x/build/output/test-tmp/test10668399135921624575/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 20-Dec-2023 11:27:15.449 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] has finished in [5] ms 20-Dec-2023 11:27:15.450 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-18-44753"] 20-Dec-2023 11:27:15.451 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:27:15.451 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-18-44753"] 20-Dec-2023 11:27:15.452 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-18-44753"] 20-Dec-2023 11:27:15.457 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlExtwarRemoveXml] 20-Dec-2023 11:27:15.461 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-19"] 20-Dec-2023 11:27:15.483 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:27:15.483 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:27:15.483 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-19-36249"] 20-Dec-2023 11:27:15.485 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] 20-Dec-2023 11:27:15.504 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 20-Dec-2023 11:27:15.836 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] has finished in [351] ms 20-Dec-2023 11:27:16.339 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 20-Dec-2023 11:27:16.341 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-19-36249"] 20-Dec-2023 11:27:16.342 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:27:16.342 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-19-36249"] 20-Dec-2023 11:27:16.348 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-19-36249"] 20-Dec-2023 11:27:16.351 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlExtdirRemoveExt] 20-Dec-2023 11:27:16.355 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-20"] 20-Dec-2023 11:27:16.404 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:27:16.404 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:27:16.405 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-20-45133"] 20-Dec-2023 11:27:16.406 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] 20-Dec-2023 11:27:16.417 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 20-Dec-2023 11:27:16.665 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] has finished in [259] ms 20-Dec-2023 11:27:17.166 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 20-Dec-2023 11:27:17.167 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] 20-Dec-2023 11:27:17.169 SEVERE [main] org.apache.catalina.startup.ContextConfig.beforeStart Exception fixing docBase for context [/myapp] java.io.FileNotFoundException: /home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/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:92) at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:825) at org.apache.catalina.startup.ContextConfig.beforeStart(ContextConfig.java:964) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:306) 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:712) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:643) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1939) 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:536) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:426) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1710) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:305) 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) 20-Dec-2023 11:27:17.170 SEVERE [main] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/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:712) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:643) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1939) 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:536) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:426) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1710) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:305) 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@1bae316d] 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:4535) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4668) 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-10.1.x/build/output/test-tmp/test10668399135921624575/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 20-Dec-2023 11:27:17.171 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] has finished in [3] ms 20-Dec-2023 11:27:17.171 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-20-45133"] 20-Dec-2023 11:27:17.171 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:27:17.172 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-20-45133"] 20-Dec-2023 11:27:17.173 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-20-45133"] 20-Dec-2023 11:27:17.177 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlExtdirRemoveXml] 20-Dec-2023 11:27:17.179 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-21"] 20-Dec-2023 11:27:17.200 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:27:17.200 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:27:17.201 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-21-41811"] 20-Dec-2023 11:27:17.202 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] 20-Dec-2023 11:27:17.207 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 20-Dec-2023 11:27:17.447 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] has finished in [245] ms 20-Dec-2023 11:27:17.948 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 20-Dec-2023 11:27:17.950 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-21-41811"] 20-Dec-2023 11:27:17.952 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:27:17.953 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-21-41811"] 20-Dec-2023 11:27:17.953 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-21-41811"] 20-Dec-2023 11:27:17.955 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlWarDirRemoveWarCopyXml] 20-Dec-2023 11:27:17.958 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-22"] 20-Dec-2023 11:27:17.988 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:27:17.988 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:27:17.988 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-22-41307"] 20-Dec-2023 11:27:17.994 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] 20-Dec-2023 11:27:18.001 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 20-Dec-2023 11:27:18.294 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] has finished in [300] ms 20-Dec-2023 11:27:18.795 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 20-Dec-2023 11:27:18.797 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-22-41307"] 20-Dec-2023 11:27:18.798 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:27:18.798 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-22-41307"] 20-Dec-2023 11:27:18.798 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-22-41307"] 20-Dec-2023 11:27:18.803 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlWarRemoveWar] 20-Dec-2023 11:27:18.804 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-23"] 20-Dec-2023 11:27:18.810 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:27:18.810 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:27:18.810 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-23-34751"] 20-Dec-2023 11:27:18.811 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] 20-Dec-2023 11:27:18.817 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 20-Dec-2023 11:27:19.046 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] has finished in [235] ms 20-Dec-2023 11:27:19.547 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 20-Dec-2023 11:27:19.549 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-23-34751"] 20-Dec-2023 11:27:19.550 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:27:19.550 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-23-34751"] 20-Dec-2023 11:27:19.550 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-23-34751"] 20-Dec-2023 11:27:19.556 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDeleteXmlWarRemoveXml] 20-Dec-2023 11:27:19.558 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-24"] 20-Dec-2023 11:27:19.566 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:27:19.566 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:27:19.566 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-24-36701"] 20-Dec-2023 11:27:19.568 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] 20-Dec-2023 11:27:19.574 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 20-Dec-2023 11:27:19.736 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/conf/Tomcat/localhost/myapp.xml] has finished in [168] ms 20-Dec-2023 11:27:20.237 INFO [main] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/myapp] 20-Dec-2023 11:27:20.239 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp.war] 20-Dec-2023 11:27:20.418 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/buildslave/slave/tomcat-10.1.x/build/output/test-tmp/test10668399135921624575/webapps/myapp.war] has finished in [178] ms 20-Dec-2023 11:27:20.418 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-24-36701"] 20-Dec-2023 11:27:20.418 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:27:20.420 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-24-36701"] 20-Dec-2023 11:27:20.420 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-24-36701"] ------------- ---------------- --------------- Testcase: testDeleteXmlDirRemoveDir took 4.043 sec Testcase: testDeleteXmlDirRemoveXml took 2.089 sec Testcase: testDeleteXmlWarDirRemoveDir took 1.722 sec Testcase: testDeleteXmlWarDirRemoveWar took 1.048 sec Testcase: testDeleteXmlWarDirRemoveXml took 1.353 sec Testcase: testDeleteXmlDirRemoveXmlCopyXml took 1.511 sec Testcase: testDeleteXmlWarRemoveXmlCopyXml took 1.235 sec Testcase: testDeleteWarRemoveWar took 0.852 sec Testcase: testDeleteXmlWarDirRemoveXmlCopyXml took 1.285 sec Testcase: testDeleteXmlWarDirRemoveDirCopyXml took 1.306 sec Testcase: testDeleteDirRemoveDir took 1.083 sec Testcase: testDeleteXmlRemoveXml took 0.528 sec Testcase: testDeleteWarDirRemoveDir took 1.027 sec Testcase: testDeleteWarDirRemoveWar took 0.745 sec Testcase: testDeleteXmlExtwarDirRemoveDir took 1.1 sec Testcase: testDeleteXmlExtwarDirRemoveExt took 0.825 sec Testcase: testDeleteXmlExtwarDirRemoveXml took 0.817 sec Testcase: testDeleteXmlExtwarRemoveExt took 0.82 sec Testcase: testDeleteXmlExtwarRemoveXml took 0.893 sec Testcase: testDeleteXmlExtdirRemoveExt took 0.825 sec Testcase: testDeleteXmlExtdirRemoveXml took 0.779 sec Testcase: testDeleteXmlWarDirRemoveWarCopyXml took 0.847 sec Testcase: testDeleteXmlWarRemoveWar took 0.753 sec Testcase: testDeleteXmlWarRemoveXml took 0.87 sec