Testsuite: org.apache.catalina.servlets.TestWebdavServlet Tests run: 8, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 4.203 sec ------------- Standard Output --------------- ContextListener: attributeAdded('jakarta.websocket.server.ServerContainer', 'org.apache.tomcat.websocket.server.WsServerContainer@4bd31064') ------------- ---------------- --------------- ------------- Standard Error ----------------- 11-Dec-2024 18:06:37.299 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testGetSpecials] 11-Dec-2024 18:06:38.523 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 11-Dec-2024 18:06:38.579 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 18:06:38.585 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 18:06:38.872 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 11-Dec-2024 18:06:39.528 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:06:39.606 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized() 11-Dec-2024 18:06:39.608 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized() 11-Dec-2024 18:06:39.610 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: attributeAdded('StockTicker', 'async.Stockticker@6b695b06') 11-Dec-2024 18:06:39.718 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-33359"] 11-Dec-2024 18:06:40.056 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-33359"] 11-Dec-2024 18:06:40.058 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 18:06:40.063 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextDestroyed() 11-Dec-2024 18:06:40.064 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextDestroyed() 11-Dec-2024 18:06:40.103 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-33359"] 11-Dec-2024 18:06:40.116 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-33359"] 11-Dec-2024 18:06:40.139 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSharedLocks] 11-Dec-2024 18:06:40.152 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 11-Dec-2024 18:06:40.154 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 18:06:40.154 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 18:06:40.201 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-45059"] 11-Dec-2024 18:06:40.361 INFO [http-nio-127.0.0.1-auto-2-exec-1] 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:06:40.366 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-45059"] 11-Dec-2024 18:06:40.369 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 18:06:40.372 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-45059"] 11-Dec-2024 18:06:40.392 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-45059"] 11-Dec-2024 18:06:40.403 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBasicProperties] 11-Dec-2024 18:06:40.405 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 11-Dec-2024 18:06:40.413 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 18:06:40.413 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 18:06:40.431 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-38415"] 11-Dec-2024 18:06:40.511 INFO [http-nio-127.0.0.1-auto-3-exec-1] 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:06:40.513 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-38415"] 11-Dec-2024 18:06:40.515 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 18:06:40.518 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-38415"] 11-Dec-2024 18:06:40.520 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-38415"] 11-Dec-2024 18:06:40.523 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testGetWithSubpathmount] 11-Dec-2024 18:06:40.525 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 11-Dec-2024 18:06:40.525 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 18:06:40.526 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 18:06:40.555 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 11-Dec-2024 18:06:40.662 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:06:40.736 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized() 11-Dec-2024 18:06:40.738 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized() 11-Dec-2024 18:06:40.739 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: attributeAdded('StockTicker', 'async.Stockticker@7354b8c5') 11-Dec-2024 18:06:40.752 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-46339"] 11-Dec-2024 18:06:40.779 INFO [http-nio-127.0.0.1-auto-4-exec-1] 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:06:40.820 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-46339"] 11-Dec-2024 18:06:40.820 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 18:06:40.822 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextDestroyed() 11-Dec-2024 18:06:40.822 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextDestroyed() 11-Dec-2024 18:06:40.832 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-46339"] 11-Dec-2024 18:06:40.843 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-46339"] 11-Dec-2024 18:06:40.847 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPropertyStore] 11-Dec-2024 18:06:40.849 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 11-Dec-2024 18:06:40.849 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 18:06:40.850 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 18:06:40.854 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-42483"] 11-Dec-2024 18:06:40.888 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-42483"] 11-Dec-2024 18:06:40.889 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 18:06:40.898 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-42483"] 11-Dec-2024 18:06:40.912 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-42483"] 11-Dec-2024 18:06:40.914 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBasicOperations] 11-Dec-2024 18:06:40.915 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 11-Dec-2024 18:06:40.916 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 18:06:40.916 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 18:06:40.923 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-38859"] 11-Dec-2024 18:06:40.941 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:06:40.944 INFO [http-nio-127.0.0.1-auto-6-exec-1] 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:06:40.945 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-38859"] 11-Dec-2024 18:06:40.961 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 18:06:40.963 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-38859"] 11-Dec-2024 18:06:40.970 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-38859"] 11-Dec-2024 18:06:40.979 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDirectoryListing] 11-Dec-2024 18:06:40.984 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 11-Dec-2024 18:06:40.985 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 18:06:40.985 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 18:06:41.005 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-42625"] 11-Dec-2024 18:06:41.016 INFO [http-nio-127.0.0.1-auto-7-exec-1] 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:06:41.020 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-42625"] 11-Dec-2024 18:06:41.021 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 18:06:41.023 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-42625"] 11-Dec-2024 18:06:41.030 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-42625"] 11-Dec-2024 18:06:41.032 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIfHeader] 11-Dec-2024 18:06:41.039 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 11-Dec-2024 18:06:41.043 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 18:06:41.044 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 18:06:41.051 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-41531"] 11-Dec-2024 18:06:41.119 INFO [http-nio-127.0.0.1-auto-8-exec-1] 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:06:41.176 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-41531"] 11-Dec-2024 18:06:41.178 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 18:06:41.184 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-41531"] 11-Dec-2024 18:06:41.196 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-41531"] ------------- ---------------- --------------- Testcase: testGetSpecials took 3.068 sec Testcase: testSharedLocks took 0.262 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.12 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.325 sec Testcase: testPropertyStore took 0.066 sec Testcase: testBasicOperations took 0.059 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.058 sec Testcase: testIfHeader took 0.166 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)