Testsuite: org.apache.catalina.servlets.TestWebdavServlet Tests run: 8, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 4.366 sec ------------- Standard Output --------------- ContextListener: attributeAdded('jakarta.websocket.server.ServerContainer', 'org.apache.tomcat.websocket.server.WsServerContainer@6692b6c6') ------------- ---------------- --------------- ------------- Standard Error ----------------- 11-Dec-2024 18:21:06.862 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testGetSpecials] 11-Dec-2024 18:21:08.043 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 11-Dec-2024 18:21:08.201 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 18:21:08.208 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 18:21:08.613 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 11-Dec-2024 18:21:08.970 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 11-Dec-2024 18:21:09.012 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized() 11-Dec-2024 18:21:09.015 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized() 11-Dec-2024 18:21:09.017 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: attributeAdded('StockTicker', 'async.Stockticker@4e5ed836') 11-Dec-2024 18:21:09.078 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39897"] 11-Dec-2024 18:21:09.283 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39897"] 11-Dec-2024 18:21:09.285 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 18:21:09.297 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextDestroyed() 11-Dec-2024 18:21:09.298 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextDestroyed() 11-Dec-2024 18:21:09.341 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39897"] 11-Dec-2024 18:21:09.343 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39897"] 11-Dec-2024 18:21:09.365 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSharedLocks] 11-Dec-2024 18:21:09.370 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 11-Dec-2024 18:21:09.445 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 18:21:09.445 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 18:21:09.472 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37509"] 11-Dec-2024 18:21:09.501 INFO [http-nio2-127.0.0.1-auto-2-exec-2] org.apache.catalina.core.ApplicationContext.log webdav: Non persistent memory storage will be used for dead properties; the 'propertyStore' init parameter of the Servlet may be used to configure a custom store implementing the 'WebdavServlet.PropertyStore' interface 11-Dec-2024 18:21:09.507 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37509"] 11-Dec-2024 18:21:09.508 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 18:21:09.511 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37509"] 11-Dec-2024 18:21:09.512 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37509"] 11-Dec-2024 18:21:09.539 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBasicProperties] 11-Dec-2024 18:21:09.550 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 11-Dec-2024 18:21:09.584 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 18:21:09.584 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 18:21:09.589 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-34607"] 11-Dec-2024 18:21:09.591 INFO [http-nio2-127.0.0.1-auto-3-exec-2] org.apache.catalina.core.ApplicationContext.log webdav: Non persistent memory storage will be used for dead properties; the 'propertyStore' init parameter of the Servlet may be used to configure a custom store implementing the 'WebdavServlet.PropertyStore' interface 11-Dec-2024 18:21:09.593 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-34607"] 11-Dec-2024 18:21:09.596 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 18:21:09.598 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-34607"] 11-Dec-2024 18:21:09.599 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-34607"] 11-Dec-2024 18:21:09.603 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testGetWithSubpathmount] 11-Dec-2024 18:21:09.605 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 11-Dec-2024 18:21:09.688 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 18:21:09.689 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 18:21:09.717 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 11-Dec-2024 18:21:09.831 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 11-Dec-2024 18:21:09.941 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized() 11-Dec-2024 18:21:09.942 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized() 11-Dec-2024 18:21:09.946 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: attributeAdded('StockTicker', 'async.Stockticker@39d76cb5') 11-Dec-2024 18:21:09.976 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-35607"] 11-Dec-2024 18:21:09.993 INFO [http-nio2-127.0.0.1-auto-4-exec-2] org.apache.catalina.core.ApplicationContext.log webdav: Non persistent memory storage will be used for dead properties; the 'propertyStore' init parameter of the Servlet may be used to configure a custom store implementing the 'WebdavServlet.PropertyStore' interface 11-Dec-2024 18:21:10.026 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-35607"] 11-Dec-2024 18:21:10.027 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 18:21:10.031 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextDestroyed() 11-Dec-2024 18:21:10.031 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextDestroyed() 11-Dec-2024 18:21:10.052 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-35607"] 11-Dec-2024 18:21:10.053 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-35607"] 11-Dec-2024 18:21:10.059 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPropertyStore] 11-Dec-2024 18:21:10.061 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 11-Dec-2024 18:21:10.141 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 18:21:10.141 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 18:21:10.147 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38557"] 11-Dec-2024 18:21:10.162 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38557"] 11-Dec-2024 18:21:10.168 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 18:21:10.173 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38557"] 11-Dec-2024 18:21:10.180 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38557"] 11-Dec-2024 18:21:10.186 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBasicOperations] 11-Dec-2024 18:21:10.187 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 11-Dec-2024 18:21:10.279 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 18:21:10.279 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 18:21:10.309 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-46629"] 11-Dec-2024 18:21:10.311 WARNING [main] org.apache.catalina.webresources.Cache.enforceObjectMaxSizeLimit The value of [1] KiB for objectMaxSize is larger than the limit of maxSize/20 so has been reduced to [0] KiB 11-Dec-2024 18:21:10.314 INFO [http-nio2-127.0.0.1-auto-6-exec-2] org.apache.catalina.core.ApplicationContext.log webdav: Non persistent memory storage will be used for dead properties; the 'propertyStore' init parameter of the Servlet may be used to configure a custom store implementing the 'WebdavServlet.PropertyStore' interface 11-Dec-2024 18:21:10.316 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-46629"] 11-Dec-2024 18:21:10.319 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 18:21:10.321 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-46629"] 11-Dec-2024 18:21:10.325 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-46629"] 11-Dec-2024 18:21:10.329 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDirectoryListing] 11-Dec-2024 18:21:10.330 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 11-Dec-2024 18:21:10.442 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 18:21:10.448 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 18:21:10.504 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-39431"] 11-Dec-2024 18:21:10.507 INFO [http-nio2-127.0.0.1-auto-7-exec-2] org.apache.catalina.core.ApplicationContext.log webdav: Non persistent memory storage will be used for dead properties; the 'propertyStore' init parameter of the Servlet may be used to configure a custom store implementing the 'WebdavServlet.PropertyStore' interface 11-Dec-2024 18:21:10.511 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-39431"] 11-Dec-2024 18:21:10.513 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 18:21:10.522 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-39431"] 11-Dec-2024 18:21:10.524 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-39431"] 11-Dec-2024 18:21:10.537 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIfHeader] 11-Dec-2024 18:21:10.540 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 11-Dec-2024 18:21:10.653 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 18:21:10.653 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 18:21:10.689 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41619"] 11-Dec-2024 18:21:10.708 INFO [http-nio2-127.0.0.1-auto-8-exec-2] org.apache.catalina.core.ApplicationContext.log webdav: Non persistent memory storage will be used for dead properties; the 'propertyStore' init parameter of the Servlet may be used to configure a custom store implementing the 'WebdavServlet.PropertyStore' interface 11-Dec-2024 18:21:10.801 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41619"] 11-Dec-2024 18:21:10.801 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 18:21:10.804 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41619"] 11-Dec-2024 18:21:10.804 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41619"] ------------- ---------------- --------------- Testcase: testGetSpecials took 2.711 sec Testcase: testSharedLocks took 0.156 sec FAILED expected:<201> but was:<412> junit.framework.AssertionFailedError: expected:<201> but was:<412> at org.apache.catalina.servlets.TestWebdavServlet.testSharedLocks(TestWebdavServlet.java:721) 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) Testcase: testBasicProperties took 0.071 sec FAILED expected:<201> but was:<412> junit.framework.AssertionFailedError: expected:<201> but was:<412> at org.apache.catalina.servlets.TestWebdavServlet.testBasicProperties(TestWebdavServlet.java:273) 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) Testcase: testGetWithSubpathmount took 0.456 sec Testcase: testPropertyStore took 0.126 sec Testcase: testBasicOperations took 0.142 sec FAILED expected:<201> but was:<412> junit.framework.AssertionFailedError: expected:<201> but was:<412> at org.apache.catalina.servlets.TestWebdavServlet.testBasicOperations(TestWebdavServlet.java:382) 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) Testcase: testDirectoryListing took 0.209 sec Testcase: testIfHeader took 0.276 sec FAILED expected:<201> but was:<412> junit.framework.AssertionFailedError: expected:<201> but was:<412> at org.apache.catalina.servlets.TestWebdavServlet.testIfHeader(TestWebdavServlet.java:1071) 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)