-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jetty-12 ee9 Omnibus tck failure analysis #9760
Comments
Following tests are still failing after initial fixes: com/sun/ts/tests/servlet/api/jakarta_servlet_http/cookie/URLClient.java.getPathTest - covered by #9762 When running locally (with arquillian and tck 6.0.0) these tests work. When running in ci against the 5.0.2 tck they don't work. Cookie[] cookie = request.getCookies();
int index = ServletTestUtil.findCookie(cookie, "name1");
if (index >= 0) {
String expectedResult = request.getContextPath();
String result = cookie[index].getPath();
if (result != null) {
if (!result.equals(expectedResult)) {
passed = false;
pw.println("getPath() returned an incorrect result ");
pw.println("Expected = " + expectedResult + " ");
pw.println("Actual = |" + result + "| ");
} else {
passed = true;
}
} else {
passed = false;
pw.println("Error: getPath() returned a null result");
}
} else {
passed = false;
pw.println("Error: The expected cookie was not received from the client");
} |
Update: even after switching to |
Update: using @gregw if we use |
Fix #9760 Only set path and domain if they are not blank
Fix #9760 Only set path and domain if they are not blank Switch on violation rather than type
* Add test to show failure * Fix #9760 EE9 Cookies Fix #9760 Only set path and domain if they are not blank * Fix #9760 EE9 Cookies Fix #9760 Only set path and domain if they are not blank Switch on violation rather than type * Handle legacy cookie version and comment * Handle cookie version and comment --------- Co-authored-by: gregw <[email protected]>
With #9902 committed, the last tck failures that are not related to cross context have all been fixed. |
As of build https://jenkins.webtide.net/job/tck/job/servlettck-run-12.0.x-ee9/299/ there are 64 failing ee9 tests. This issue is to track their analysis in a central place.
Note that: the CI build is running against
servlet-tck-5
, whilst local testing is running againstservlet-tck-6
as that is the only version that has been extensively modified with arquillian etc to allow individual tests to run.works in servlet-6-tck
com/sun/ts/tests/servlet/spec/security/secform/Client.java.test11
com/sun/ts/tests/servlet/spec/security/secform/Client.java.test1
com/sun/ts/tests/servlet/spec/security/secform/Client.java.test10
com/sun/ts/tests/servlet/spec/security/secform/Client.java.test13
com/sun/ts/tests/servlet/spec/security/secform/Client.java.test14
com/sun/ts/tests/servlet/spec/security/secform/Client.java.test17
com/sun/ts/tests/servlet/spec/security/secform/Client.java.test2
com/sun/ts/tests/servlet/spec/security/secform/Client.java.test3
com/sun/ts/tests/servlet/spec/security/secform/Client.java.test4
com/sun/ts/tests/servlet/spec/security/secform/Client.java.test6
com/sun/ts/tests/servlet/spec/security/secform/Client.java.test1_anno
com/sun/ts/tests/servlet/spec/security/secform/Client.java.test2_anno
com/sun/ts/tests/servlet/spec/security/secform/Client.java.test3_anno
com/sun/ts/tests/servlet/spec/security/secform/Client.java.test4_anno
com/sun/ts/tests/servlet/spec/security/secform/Client.java.test6_anno
com/sun/ts/tests/servlet/spec/security/secform/Client.java.test14_anno
com/sun/ts/tests/servlet/spec/requestdispatcher/URLClient.java.getRequestAttributes
com/sun/ts/tests/servlet/spec/requestdispatcher/URLClient.java.getRequestAttributes1
com/sun/ts/tests/servlet/spec/requestdispatcher/URLClient.java.getRequestAttributes3
com/sun/ts/tests/servlet/spec/requestdispatcher/URLClient.java.getRequestAttributes4
com/sun/ts/tests/servlet/spec/requestdispatcher/URLClient.java.getRequestAttributes6
com/sun/ts/tests/servlet/spec/requestdispatcher/URLClient.java.getRequestURIForwardTest
com/sun/ts/tests/servlet/spec/requestdispatcher/URLClient.java.getRequestURLForwardTest
com/sun/ts/tests/servlet/api/jakarta_servlet_http/cookie/URLClient.java.setMaxAgeNegativeTest
com/sun/ts/tests/servlet/api/jakarta_servlet_http/cookie/URLClient.java.setMaxAgeZeroTest
com/sun/ts/tests/servlet/api/jakarta_servlet_http/cookie/URLClient.java.setPathTest
com/sun/ts/tests/servlet/pluggability/api/jakarta_servlet_http/cookie/URLClient.java.setMaxAgeNegativeTest
com/sun/ts/tests/servlet/pluggability/api/jakarta_servlet_http/cookie/URLClient.java.setMaxAgeZeroTest
com/sun/ts/tests/servlet/pluggability/api/jakarta_servlet_http/httpservletrequest/URLClient.java.getContextPathTest
com/sun/ts/tests/servlet/pluggability/api/jakarta_servlet_http/httpservletrequestwrapper/URLClient.java.getContextPathTest
com/sun/ts/tests/servlet/api/jakarta_servlet_http/httpservletrequest/URLClient.java.getContextPathTest
com/sun/ts/tests/servlet/api/jakarta_servlet_http/httpservletrequestwrapper/URLClient.java.getContextPathTest
com/sun/ts/tests/servlet/spec/serverpush/Client.java.serverPushTest
com/sun/ts/tests/servlet/spec/serverpush/Client.java.serverPushMiscTest
com/sun/ts/tests/servlet/spec/serverpush/Client.java.serverPushNegtiveTest
cross context dispatch
com/sun/ts/tests/servlet/api/jakarta_servlet_http/httpsessionx/URLClient.java.expireHttpSessionxrfTest
com/sun/ts/tests/servlet/api/jakarta_servlet_http/httpsessionx/URLClient.java.expireHttpSessionxri1Test
com/sun/ts/tests/servlet/api/jakarta_servlet_http/httpsessionx/URLClient.java.expireHttpSessionxriTest
com/sun/ts/tests/servlet/api/jakarta_servlet/dispatchtest/URLClient.java.dispatchAfterCommitTest4
com/sun/ts/tests/servlet/api/jakarta_servlet/dispatchtest/URLClient.java.dispatchAfterCommitTest5
com/sun/ts/tests/servlet/api/jakarta_servlet/dispatchtest/URLClient.java.dispatchReturnTest4
com/sun/ts/tests/servlet/api/jakarta_servlet/dispatchtest/URLClient.java.dispatchReturnTest5
com/sun/ts/tests/servlet/api/jakarta_servlet/dispatchtest/URLClient.java.negativeDispatchTest12
com/sun/ts/tests/servlet/api/jakarta_servlet/dispatchtest/URLClient.java.negativeDispatchTest13
com/sun/ts/tests/servlet/api/jakarta_servlet/dispatchtest/URLClient.java.negativeDispatchTest8
com/sun/ts/tests/servlet/api/jakarta_servlet/dispatchtest/URLClient.java.negativeDispatchTest9
com/sun/ts/tests/servlet/api/jakarta_servlet/dispatchtest/URLClient.java.startAsyncAgainTest12
com/sun/ts/tests/servlet/api/jakarta_servlet/dispatchtest/URLClient.java.startAsyncAgainTest13
com/sun/ts/tests/servlet/api/jakarta_servlet/dispatchtest/URLClient.java.startAsyncAgainTest14
com/sun/ts/tests/servlet/api/jakarta_servlet/dispatchtest/URLClient.java.startAsyncAgainTest15
com/sun/ts/tests/servlet/api/jakarta_servlet/dispatchtest/URLClient.java.startAsyncAgainTest16
com/sun/ts/tests/servlet/api/jakarta_servlet/dispatchtest/URLClient.java.startAsyncAgainTest17
does not exist in servlet-6-tck
com/sun/ts/tests/servlet/api/jakarta_servlet_http/httpsessionx/URLClient.java.invalidateHttpSessionxTest
tck challenged
com/sun/ts/tests/servlet/spec/httpservletresponse/URLClient.java.flushBufferTest
to investigate
com/sun/ts/tests/servlet/api/jakarta_servlet_http/httpupgradehandler/URLClient.java.upgradeTest - covered by #9657
com/sun/ts/tests/servlet/api/jakarta_servlet_http/cookie/URLClient.java.getPathTest - covered by #9762
com/sun/ts/tests/servlet/api/jakarta_servlet_http/cookie/URLClient.java.getDomainTest - covered by #9762
com/sun/ts/tests/servlet/api/jakarta_servlet_http/cookie/URLClient.java.getVersionTest - covered by #9762
com/sun/ts/tests/servlet/pluggability/api/jakarta_servlet_http/cookie/URLClient.java.getDomainTest - covered by #9762
com/sun/ts/tests/servlet/pluggability/api/jakarta_servlet_http/cookie/URLClient.java.getPathTest - covered by #9762
com/sun/ts/tests/servlet/pluggability/api/jakarta_servlet_http/cookie/URLClient.java.getVersionTest - covered by #9762
com/sun/ts/tests/servlet/spec/serverpush/Client.java.serverPushCookieTest - covered by #9766
com/sun/ts/tests/servlet/spec/serverpush/Client.java.serverPushSessionTest2 - covered by #9766
The text was updated successfully, but these errors were encountered: