Can we please have a notification scheme enabled for Undertow Jira?
by Darran Lofthouse
Can we please have a notification scheme enabling for the Undertow Jira
project so that we can receive e-mail notifications.
I would suggest just use the same one as is used for Remoting JMX, it
should be sufficient to have the notifications go to the general mailing
list and interested individuals.
Regards,
Darran Lofthouse.
10 years, 3 months
resteasy oauth undertow security requirements
by Bill Burke
Hey all,
Is there a web-site for Undertow? Any documentation or examples?
I'm hoping to start migrating Resteasy's OAuth work so that it works
with Undertow. I don't know whether or not it will require undertow
security API changes or not. I'll post some initial
requirements/how-we-do-it-now stuff below.
1. Support for multiple simultaneous auth protocols for one web-app. Any
servlet auth + oauth + bearer-token.
2. Ability to introspect principal and role mapping from underlying
"domain". We create a smart token from this information. With
JBossWeb, we hacked this information from the Principal passed back from
the security layer.
3. Ability to add additional action URLs to the web-app without
additional user configuration. With JBossWeb, we handled all these URLs
within a valve.
4. Ability to create both principal and role mappings on the fly from an
incoming request's bearer token.
5. Ability to obtain any client certificates so that they can be
verified. Verification only. For this I want to be able to verify the
client that is acting on behalf of a user. So the calling client's
certificates may not be the same identity of the actual user.
6. Ability to store state in-between requests. This isn't a session as
it will be two different clients that need to share data. in OAuth,
there's the User Agent that establishes an access code for the web-app.
The web-app makes a separate HTTP request to verify the access code
and turn it into a token.
7. Ability to log out any requested user. Our current implementation
has an admin interface that can log out a user on *every* app they are
logged into.
That's all I can think of now. So, Undertow needs to provide these
capabilities within their security API, *OR*, it requires a Valve
architecture that can override any current built-in auth infrastructure,
but at the same time, have access to the "domain" and be able to
authenticate and introspect principal and role mappings.
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
11 years, 6 months
Equivalents to Tomcat/JBossWeb valves and options
by James Livingston
Hi,
A few weeks ago on jboss-as7-dev, Undertow compatibility with Tomcat
valves and -D options was briefly mentioned. Direct compatibility is a
different topic, but I think it is important to make sure that Undertow
can cover the reasons people are using some of those Tomcat options.
I've done some analysis on the JBoss support cases Red Hat deals with
and our knowledge base, and had a bit of a look over the community
forums. I looked at the forums less since it's less structured data but
what people mention there seems consistent with the the RH support cases.
I'm sorry this post is as long as it is, but hopefully what I've found
will help make sure we think about some cases people may run into using
Undertow, and remind us of a few lessons to learn from previous
Tomcat/JBossWeb bugs.
The most common valves we see people add are the RewriteValve,
RequestDumperValve and AccessLogValve. UNDERTOW-12 and UNDERTOW-17 are
already filed for equivalents to the first two. I can't see any code or
open JIRA issues for access logging, which I imagine people will want.
The most commonly used Tomcat -D option is
org.apache.catalina.STRICT_SERVLET_COMPLIANCE=false. When it's
discussed, it always seems to be added for the effect of not enforcing
"any wrapped request or response object passed to an application
dispatcher will be checked to ensure that it has wrapped the original
request or response. (SRV.8.2 / SRV.14.2.5.1)". Undertow enforces that
clause.
A quick search for "ApplicationDispatcher.checkSameObjects" shows people
running into this all over the place. Including
https://issues.jboss.org/browse/RESTEASY-745 (which has a work-around).
Unfortunately a reasonable number of libraries have had or still have
bugs where their wrappers don't derive from the spec one, and it only
break when someone tries to pass it to the dispatcher.
There are a few uses of
org.apache.tomcat.util.http.Parameters.MAX_COUNT, that adjusts the
arbitrary limit on the parameter count which was added to prevent DoS
attacks using hash collisions. Looking at the code, there appear to be
several places where Undertow could suffer similar DoS attacks where
client data is used as HashMap keys: CookieHandler,
HttpServletRequestImpl.getParameterMap() and so on.
Two important things here: what protection does/will Undertow have
against those attacks (such as a limit on the number of parameters, and
is there a way of changing the arbitrary limit. It's not the best idea
to do that, but I've seen at least two people saying they have >2000
hidden parameters in some of their forms.
There are a few options that get used a bit for session cookies. You can
change the cookie name from JSESSIONID on a per-webapp basis, but Tomcat
has a org.apache.catalina.JSESSIONID option to set it globally. This is
probably more of a WildFly integration thing, but is there a plan to
allow it to be changed globally?
org.apache.tomcat.util.http.ServerCookie.ALLOW_EQUALS_IN_VALUE is used
occasionally to allow un-escaped equals signs in the cookie value.
org.apache.tomcat.util.http.ServerCookie.VERSION_SWITCH=false is used
occasionally to not switch v0 cookies to v1 cookies, to deal with some
broken clients. See JBWEB-196.
org.apache.catalina.connector.Response.REWRITE_CONTEXT_CHECK=false is
used primarily in WebLogic migrations. See JBWEB-181, but apparently
when encodeRedirectURL() adds the sessionId to the url, WL will do that
for URLs belonging to other contexts. I'm not sure if this is still
useful.
By default Tomcat un-escapes %2F in a URL to / to prevent security flaws
by something incorrectly doing it later.
org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH can be used to
disable that, for example if you want to put %2F inside a path component
of a REST service. Should Undertow to the same automatic un-escaping,
and if so have a way not to do it?
The final option that I've seen used a non-trivial number of times is
org.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER. Jasper has
re-sizable buffers which are pooled for performance but may need to grow
arbitrarily large to render some JSPs. By default the enlarged buffers
are kept in the pool like normal ones, which means a bad JSP render
consuming hundreds of mb will not free the extra memory when it
finishes. This option causes it to shrink the buffers back down after
they're finished being used. The moral for Undertow here is if you have
resizable buffers and they get pooled, make sure the is a limit.
--
James "Doc" Livingston
JBoss Support Engineering Group
11 years, 6 months
Undertow / IdentityManager and Digest Authentication
by Darran Lofthouse
I have been saying for a while that I need to raise a discussion
regarding the verification of Digest based requests against an
IdentityManager.
At the moment this is predominantly needed for Undertow although there
is also a need for same with SASL.
The following document describes the proposed use of the Undertow
IdentityManager API and the requirement for the implementation i.e. what
we would need from PicketLink IDM once wrapped in the WildFly integration: -
https://community.jboss.org/wiki/Undertow-IdentityManager-DigestAuthentic...
The three methods on the IdentityManager interface previously used for
Digest based authentication will all be removed.
An identity manager that can provide this capability will also be
compatible with SASL based authentication without needing to be aware of
the actual verification requirements within SASL.
Regards,
Darran Lofthouse.
11 years, 6 months
Build failed in Jenkins: Undertow #285
by ci-builds@redhat.com
See <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/285/changes>
Changes:
[stuart.w.douglas] Fix test
------------------------------------------
[...truncated 365 lines...]
at org.xnio.nio.WorkerThread.run(WorkerThread.java:528)
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.895 sec
Running io.undertow.test.ssl.ComplexSSLTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 sec
Running io.undertow.test.session.inmemory.SSLSessionTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.075 sec
Running io.undertow.test.session.inmemory.InMemorySessionTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 sec
Running io.undertow.test.security.SimpleConfidentialRedirectTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.099 sec
Running io.undertow.test.security.ParseDigestAuthorizationTokenTestCase
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running io.undertow.test.security.DigestAuthenticationAuthTestCase
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.243 sec
Running io.undertow.test.security.DigestAuthentication2069TestCase
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.187 sec
Running io.undertow.test.security.ClientCertTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 sec
Running io.undertow.test.security.BasicAuthenticationTestCase
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.08 sec
Running io.undertow.test.handlers.path.PathTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.051 sec
Running io.undertow.test.handlers.form.MultipartFormDataParserTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.434 sec
Running io.undertow.test.handlers.form.FormDataParserTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec
Running io.undertow.test.handlers.file.FileHandlerTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
Running io.undertow.test.handlers.file.FileHandlerStressTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.07 sec
Running io.undertow.test.handlers.file.FileHandlerIndexTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running io.undertow.test.handlers.error.SimpleErrorPageHandlerTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running io.undertow.test.handlers.error.FileErrorPageHandlerTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running io.undertow.test.handlers.encoding.EncodingSelectionTestCase
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.05 sec
Running io.undertow.test.handlers.encoding.DeflateContentEncodingTestCase
Using seed 1849591661
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.297 sec
Running io.undertow.test.handlers.caching.CacheHandlerTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.05 sec
Running io.undertow.test.handlers.caching.CacheHandlerContentEncodingTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec
Running io.undertow.test.handlers.blocking.SimpleBlockingServerTestCase
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.004 sec
Running io.undertow.test.handlers.VirtualHostTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running io.undertow.test.handlers.SimpleNonBlockingServerTestCase
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running io.undertow.test.handlers.ResumeWritesTestCase
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.101 sec
Running io.undertow.test.handlers.OriginTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec
Running io.undertow.test.handlers.LotsOfHeadersResponseTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.346 sec
Running io.undertow.test.handlers.HttpContinueTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running io.undertow.test.handlers.FixedLengthResponseTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running io.undertow.test.handlers.FixedLengthRequestTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.01 sec
Running io.undertow.test.handlers.ChunkedResponseTransferCodingTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running io.undertow.test.handlers.ChunkedResponseTrailersTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running io.undertow.test.handlers.ChunkedRequestTransferCodingTestCase
Using Seed 1722284925Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.102 sec
Running io.undertow.test.handlers.ChunkedRequestTrailersTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running io.undertow.test.WriteTimeoutTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec
Running io.undertow.test.ReadTimeoutTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec
Running io.undertow.test.MaxRequestSizeTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec
Running io.undertow.server.SimpleParserTestCase
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
Running io.undertow.server.ParserResumeTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.076 sec
Running io.undertow.client.ResponseParserResumeTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 sec
Running io.undertow.client.HttpClientTestCase
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.104 sec
Running io.undertow.ajp.AjpParsingUnitTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Results :
Tests run: 140, Failures: 0, Errors: 0, Skipped: 7
[JENKINS] Recording test results
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ undertow-core ---
[INFO] Building jar: <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/core/t...>
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ undertow-core ---
[INFO] Building jar: <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/core/t...>
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default) @ undertow-core ---
[INFO]
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ undertow-core ---
[INFO] Building jar: <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/core/t...>
[INFO] Installing <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/core/t...> to /home/jenkins/.m2/repository/io/undertow/undertow-core/1.0.0.Alpha11-SNAPSHOT/undertow-core-1.0.0.Alpha11-SNAPSHOT.jar
[INFO] [INFO] Installing <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/core/p...> to /home/jenkins/.m2/repository/io/undertow/undertow-core/1.0.0.Alpha11-SNAPSHOT/undertow-core-1.0.0.Alpha11-SNAPSHOT.pom
[INFO] Installing <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/core/t...> to /home/jenkins/.m2/repository/io/undertow/undertow-core/1.0.0.Alpha11-SNAPSHOT/undertow-core-1.0.0.Alpha11-SNAPSHOT-sources.jar
[INFO] --- maven-install-plugin:2.4:install (default-install) @ undertow-core ---
[INFO] Installing <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/core/t...> to /home/jenkins/.m2/repository/io/undertow/undertow-core/1.0.0.Alpha11-SNAPSHOT/undertow-core-1.0.0.Alpha11-SNAPSHOT-tests.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Undertow Servlet 1.0.0.Alpha11-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-java-version) @ undertow-servlet ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven-version) @ undertow-servlet ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.2:create-timestamp (get-build-timestamp) @ undertow-servlet ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.2:create (get-scm-revision) @ undertow-servlet ---
[INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ undertow-servlet ---
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ undertow-servlet ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 93 source files to <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[11,19] sun.reflect.ReflectionFactory is internal proprietary API and may be removed in a future release
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[11,19] sun.reflect.ReflectionFactory is internal proprietary API and may be removed in a future release
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[11,19] sun.reflect.ReflectionFactory is internal proprietary API and may be removed in a future release
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[11,19] sun.reflect.ReflectionFactory is internal proprietary API and may be removed in a future release
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[22,47] javax.servlet.SingleThreadModel in javax.servlet has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[48,13] javax.servlet.SingleThreadModel in javax.servlet has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[232,17] log(java.lang.Exception,java.lang.String) in javax.servlet.ServletContext has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[222,32] getServletNames() in javax.servlet.ServletContext has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[217,33] getServlets() in javax.servlet.ServletContext has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[212,20] getServlet(java.lang.String) in javax.servlet.ServletContext has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[29,11] javax.servlet.http.HttpSessionContext in javax.servlet.http has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[154,17] removeValue(java.lang.String) in javax.servlet.http.HttpSession has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[138,17] putValue(java.lang.String,java.lang.Object) in javax.servlet.http.HttpSession has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[107,21] getValueNames() in javax.servlet.http.HttpSession has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[97,19] getValue(java.lang.String) in javax.servlet.http.HttpSession has been deprecated
[INFO] [WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[87,31] getSessionContext() in javax.servlet.http.HttpSession has been deprecated
[INFO] [WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[87,12] javax.servlet.http.HttpSessionContext in javax.servlet.http has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[66,21] executeHandler(io.undertow.server.HttpHandler,io.undertow.server.HttpServerExchange) in io.undertow.server.HttpHandlers has been deprecated
--- maven-checkstyle-plugin:2.10:checkstyle (check-style) @ undertow-servlet ---[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[28,28] sun.reflect.ReflectionFactory is internal proprietary API and may be removed in a future release
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[225,17] setStatus(int,java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[108,19] encodeRedirectUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[103,19] encodeUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[346,20] isRequestedSessionIdFromUrl() in javax.servlet.http.HttpServletRequest has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[782,19] getRealPath(java.lang.String) in javax.servlet.ServletRequest has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[116,21] executeHandler(io.undertow.server.HttpHandler,io.undertow.server.HttpServerExchange) in io.undertow.server.HttpHandlers has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[56,21] executeHandler(io.undertow.server.HttpHandler,io.undertow.server.HttpServerExchange) in io.undertow.server.HttpHandlers has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>: Some input files use unchecked or unsafe operations.
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>: Recompile with -Xlint:unchecked for details.
[INFO] Starting audit...
<http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:34:8: Unused import - io.undertow.servlet.test.util.MessageServlet.
Audit done.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Undertow Build Configuration ...................... SUCCESS [13.608s]
[INFO] Undertow .......................................... SUCCESS [1.854s]
[INFO] Undertow Parser Generator ......................... SUCCESS [4.315s]
[INFO] Undertow Core ..................................... SUCCESS [42.271s]
[INFO] Undertow Servlet .................................. FAILURE [3.257s]
[INFO] Undertow JSP ...................................... SKIPPED
[INFO] Undertow Examples ................................. SKIPPED
[INFO] Undertow WebSockets JSR356 implementations ........ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:07.365s
[INFO] Finished at: Thu Apr 25 22:02:41 EDT 2013
[INFO] Final Memory: 29M/260M
[INFO] ------------------------------------------------------------------------
[JENKINS] Archiving <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/parser...> to /home/jenkins/.jenkins/jobs/Undertow/modules/io.undertow$undertow-parser-generator/builds/2013-04-25_22-01-21/archive/io.undertow/undertow-parser-generator/1.0.0.Alpha11-SNAPSHOT/undertow-parser-generator-1.0.0.Alpha11-SNAPSHOT.pom
[JENKINS] Archiving <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/parser...> to /home/jenkins/.jenkins/jobs/Undertow/modules/io.undertow$undertow-parser-generator/builds/2013-04-25_22-01-21/archive/io.undertow/undertow-parser-generator/1.0.0.Alpha11-SNAPSHOT/undertow-parser-generator-1.0.0.Alpha11-SNAPSHOT.jar
[JENKINS] Archiving <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/parser...> to /home/jenkins/.jenkins/jobs/Undertow/modules/io.undertow$undertow-parser-generator/builds/2013-04-25_22-01-21/archive/io.undertow/undertow-parser-generator/1.0.0.Alpha11-SNAPSHOT/undertow-parser-generator-1.0.0.Alpha11-SNAPSHOT-sources.jar
[JENKINS] Archiving <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/pom.xml> to /home/jenkins/.jenkins/jobs/Undertow/modules/io.undertow$undertow-parent/builds/2013-04-25_22-01-21/archive/io.undertow/undertow-parent/1.0.0.Alpha11-SNAPSHOT/undertow-parent-1.0.0.Alpha11-SNAPSHOT.pom
[JENKINS] Archiving <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/websoc...> to /home/jenkins/.jenkins/jobs/Undertow/modules/io.undertow$undertow-websockets-jsr/builds/2013-04-25_22-01-21/archive/io.undertow/undertow-websockets-jsr/1.0.0.Alpha11-SNAPSHOT/undertow-websockets-jsr-1.0.0.Alpha11-SNAPSHOT.pom
[JENKINS] Archiving <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/build-...> to /home/jenkins/.jenkins/jobs/Undertow/modules/io.undertow$undertow-build-config/builds/2013-04-25_22-01-21/archive/io.undertow/undertow-build-config/1.0.0.Alpha11-SNAPSHOT/undertow-build-config-1.0.0.Alpha11-SNAPSHOT.pom
[JENKINS] Archiving <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/build-...> to /home/jenkins/.jenkins/jobs/Undertow/modules/io.undertow$undertow-build-config/builds/2013-04-25_22-01-21/archive/io.undertow/undertow-build-config/1.0.0.Alpha11-SNAPSHOT/undertow-build-config-1.0.0.Alpha11-SNAPSHOT.jar
[JENKINS] Archiving <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/build-...> to /home/jenkins/.jenkins/jobs/Undertow/modules/io.undertow$undertow-build-config/builds/2013-04-25_22-01-21/archive/io.undertow/undertow-build-config/1.0.0.Alpha11-SNAPSHOT/undertow-build-config-1.0.0.Alpha11-SNAPSHOT-sources.jar
[JENKINS] Archiving <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...> to /home/jenkins/.jenkins/jobs/Undertow/modules/io.undertow$undertow-servlet/builds/2013-04-25_22-01-21/archive/io.undertow/undertow-servlet/1.0.0.Alpha11-SNAPSHOT/undertow-servlet-1.0.0.Alpha11-SNAPSHOT.pom
[JENKINS] Archiving <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/exampl...> to /home/jenkins/.jenkins/jobs/Undertow/modules/io.undertow$undertow-examples/builds/2013-04-25_22-01-21/archive/io.undertow/undertow-examples/1.0.0.Alpha11-SNAPSHOT/undertow-examples-1.0.0.Alpha11-SNAPSHOT.pom
[JENKINS] Archiving <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/jsp/po...> to /home/jenkins/.jenkins/jobs/Undertow/modules/io.undertow$undertow-jsp/builds/2013-04-25_22-01-21/archive/io.undertow/undertow-jsp/1.0.0.Alpha11-SNAPSHOT/undertow-jsp-1.0.0.Alpha11-SNAPSHOT.pom
[JENKINS] Archiving <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/core/p...> to /home/jenkins/.jenkins/jobs/Undertow/modules/io.undertow$undertow-core/builds/2013-04-25_22-01-21/archive/io.undertow/undertow-core/1.0.0.Alpha11-SNAPSHOT/undertow-core-1.0.0.Alpha11-SNAPSHOT.pom
[JENKINS] Archiving <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/core/t...> to /home/jenkins/.jenkins/jobs/Undertow/modules/io.undertow$undertow-core/builds/2013-04-25_22-01-21/archive/io.undertow/undertow-core/1.0.0.Alpha11-SNAPSHOT/undertow-core-1.0.0.Alpha11-SNAPSHOT.jar
[JENKINS] Archiving <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/core/t...> to /home/jenkins/.jenkins/jobs/Undertow/modules/io.undertow$undertow-core/builds/2013-04-25_22-01-21/archive/io.undertow/undertow-core/1.0.0.Alpha11-SNAPSHOT/undertow-core-1.0.0.Alpha11-SNAPSHOT-sources.jar
[JENKINS] Archiving <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/core/t...> to /home/jenkins/.jenkins/jobs/Undertow/modules/io.undertow$undertow-core/builds/2013-04-25_22-01-21/archive/io.undertow/undertow-core/1.0.0.Alpha11-SNAPSHOT/undertow-core-1.0.0.Alpha11-SNAPSHOT-tests.jar
Waiting for Jenkins to finish collecting data
mavenExecutionResult exceptions not empty
message : Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.10:checkstyle (check-style) on project undertow-servlet: An error has occurred in Checkstyle report generation.
cause : An error has occurred in Checkstyle report generation.
Stack trace :
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.10:checkstyle (check-style) on project undertow-servlet: An error has occurred in Checkstyle report generation.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:100)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:66)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
Caused by: org.apache.maven.plugin.MojoExecutionException: An error has occurred in Checkstyle report generation.
at org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:131)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 27 more
Caused by: org.apache.maven.reporting.MavenReportException: Failed during checkstyle execution
at org.apache.maven.plugin.checkstyle.AbstractCheckstyleReport.executeReport(AbstractCheckstyleReport.java:264)
at org.apache.maven.plugin.checkstyle.CheckstyleReport.executeReport(CheckstyleReport.java:339)
at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:196)
at org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:104)
... 29 more
Caused by: org.apache.maven.plugin.checkstyle.CheckstyleExecutorException: There are 1 checkstyle errors.
at org.apache.maven.plugin.checkstyle.DefaultCheckstyleExecutor.executeCheckstyle(DefaultCheckstyleExecutor.java:218)
at org.apache.maven.plugin.checkstyle.AbstractCheckstyleReport.executeReport(AbstractCheckstyleReport.java:245)
... 32 more
Sending e-mails to: undertow-dev(a)lists.jboss.org
channel stopped
11 years, 7 months
Build failed in Jenkins: Undertow » Undertow Servlet #285
by ci-builds@redhat.com
See <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>
Changes:
[stuart.w.douglas] Fix test
------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Undertow Servlet 1.0.0.Alpha11-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-java-version) @ undertow-servlet ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven-version) @ undertow-servlet ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.2:create-timestamp (get-build-timestamp) @ undertow-servlet ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.2:create (get-scm-revision) @ undertow-servlet ---
[INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ undertow-servlet ---
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ undertow-servlet ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 93 source files to <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>:[11,19] sun.reflect.ReflectionFactory is internal proprietary API and may be removed in a future release
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>:[11,19] sun.reflect.ReflectionFactory is internal proprietary API and may be removed in a future release
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>:[11,19] sun.reflect.ReflectionFactory is internal proprietary API and may be removed in a future release
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>:[11,19] sun.reflect.ReflectionFactory is internal proprietary API and may be removed in a future release
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>:[22,47] javax.servlet.SingleThreadModel in javax.servlet has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>:[48,13] javax.servlet.SingleThreadModel in javax.servlet has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>:[232,17] log(java.lang.Exception,java.lang.String) in javax.servlet.ServletContext has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>:[222,32] getServletNames() in javax.servlet.ServletContext has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>:[217,33] getServlets() in javax.servlet.ServletContext has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>:[212,20] getServlet(java.lang.String) in javax.servlet.ServletContext has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>:[29,11] javax.servlet.http.HttpSessionContext in javax.servlet.http has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>:[154,17] removeValue(java.lang.String) in javax.servlet.http.HttpSession has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>:[138,17] putValue(java.lang.String,java.lang.Object) in javax.servlet.http.HttpSession has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>:[107,21] getValueNames() in javax.servlet.http.HttpSession has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>:[97,19] getValue(java.lang.String) in javax.servlet.http.HttpSession has been deprecated
[INFO] [WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>:[87,31] getSessionContext() in javax.servlet.http.HttpSession has been deprecated
[INFO] [WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>:[87,12] javax.servlet.http.HttpSessionContext in javax.servlet.http has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>:[66,21] executeHandler(io.undertow.server.HttpHandler,io.undertow.server.HttpServerExchange) in io.undertow.server.HttpHandlers has been deprecated
--- maven-checkstyle-plugin:2.10:checkstyle (check-style) @ undertow-servlet ---[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>:[28,28] sun.reflect.ReflectionFactory is internal proprietary API and may be removed in a future release
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>:[225,17] setStatus(int,java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>:[108,19] encodeRedirectUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>:[103,19] encodeUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>:[346,20] isRequestedSessionIdFromUrl() in javax.servlet.http.HttpServletRequest has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>:[782,19] getRealPath(java.lang.String) in javax.servlet.ServletRequest has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>:[116,21] executeHandler(io.undertow.server.HttpHandler,io.undertow.server.HttpServerExchange) in io.undertow.server.HttpHandlers has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>:[56,21] executeHandler(io.undertow.server.HttpHandler,io.undertow.server.HttpServerExchange) in io.undertow.server.HttpHandlers has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>: Some input files use unchecked or unsafe operations.
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>: Recompile with -Xlint:unchecked for details.
[INFO] Starting audit...
<http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/io.undert...>:34:8: Unused import - io.undertow.servlet.test.util.MessageServlet.
Audit done.
11 years, 7 months
Configure authentication mechanisms
by Anil Saldhana
Hi,
I am trying to figure out how to set up the authentication mechanisms
in undertow. If I write an authentication mechanism involving saml, how
do I make the web apps using that mechanism.
Any links to test cases.
Regards,
Anil
11 years, 7 months
Build failed in Jenkins: Undertow #270
by ci-builds@redhat.com
See <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/270/changes>
Changes:
[stuart.w.douglas] Make ServletInputStream.availble() non-blocking
------------------------------------------
[...truncated 373 lines...]
Running io.undertow.test.handlers.error.FileErrorPageHandlerTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running io.undertow.test.handlers.encoding.EncodingSelectionTestCase
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.054 sec
Running io.undertow.test.handlers.encoding.DeflateContentEncodingTestCase
Using seed 1208860770
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.219 sec
Running io.undertow.test.handlers.caching.CacheHandlerTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec
Running io.undertow.test.handlers.caching.CacheHandlerContentEncodingTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.038 sec
Running io.undertow.test.handlers.blocking.SimpleBlockingServerTestCase
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.719 sec
Running io.undertow.test.handlers.VirtualHostTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running io.undertow.test.handlers.SimpleNonBlockingServerTestCase
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running io.undertow.test.handlers.ResumeWritesTestCase
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.104 sec
Running io.undertow.test.handlers.OriginTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec
Running io.undertow.test.handlers.LotsOfHeadersResponseTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.63 sec
Running io.undertow.test.handlers.HttpContinueTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running io.undertow.test.handlers.FixedLengthResponseTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running io.undertow.test.handlers.FixedLengthRequestTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.011 sec
Running io.undertow.test.handlers.ChunkedResponseTransferCodingTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running io.undertow.test.handlers.ChunkedResponseTrailersTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running io.undertow.test.handlers.ChunkedRequestTransferCodingTestCase
Using Seed -4245866Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.089 sec
Running io.undertow.test.handlers.ChunkedRequestTrailersTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running io.undertow.test.WriteTimeoutTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.002 sec
Running io.undertow.test.ReadTimeoutTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec
Running io.undertow.test.MaxRequestSizeTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec
Running io.undertow.server.SimpleParserTestCase
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running io.undertow.server.ParserResumeTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.08 sec
Running io.undertow.client.ResponseParserResumeTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
Running io.undertow.client.HttpClientTestCase
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.077 sec
Running io.undertow.ajp.AjpParsingUnitTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Results :
Tests run: 140, Failures: 0, Errors: 0, Skipped: 7
[JENKINS] Recording test results
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ undertow-core ---
[INFO] Building jar: <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/core/t...>
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ undertow-core ---
[INFO] Building jar: <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/core/t...>
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default) @ undertow-core ---
[INFO]
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ undertow-core ---
[INFO] Building jar: <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/core/t...>
[INFO] [INFO] Installing <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/core/t...> to /home/jenkins/.m2/repository/io/undertow/undertow-core/1.0.0.Alpha11-SNAPSHOT/undertow-core-1.0.0.Alpha11-SNAPSHOT.jar
[INFO] --- maven-install-plugin:2.4:install (default-install) @ undertow-core ---
[INFO] Installing <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/core/p...> to /home/jenkins/.m2/repository/io/undertow/undertow-core/1.0.0.Alpha11-SNAPSHOT/undertow-core-1.0.0.Alpha11-SNAPSHOT.pom
[INFO] Installing <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/core/t...> to /home/jenkins/.m2/repository/io/undertow/undertow-core/1.0.0.Alpha11-SNAPSHOT/undertow-core-1.0.0.Alpha11-SNAPSHOT-sources.jar
[INFO] Installing <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/core/t...> to /home/jenkins/.m2/repository/io/undertow/undertow-core/1.0.0.Alpha11-SNAPSHOT/undertow-core-1.0.0.Alpha11-SNAPSHOT-tests.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Undertow Servlet 1.0.0.Alpha11-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-java-version) @ undertow-servlet ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven-version) @ undertow-servlet ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.2:create-timestamp (get-build-timestamp) @ undertow-servlet ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.2:create (get-scm-revision) @ undertow-servlet ---
[INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ undertow-servlet ---
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ undertow-servlet ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 93 source files to <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[11,19] sun.reflect.ReflectionFactory is internal proprietary API and may be removed in a future release
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[11,19] sun.reflect.ReflectionFactory is internal proprietary API and may be removed in a future release
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[11,19] sun.reflect.ReflectionFactory is internal proprietary API and may be removed in a future release
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[11,19] sun.reflect.ReflectionFactory is internal proprietary API and may be removed in a future release
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[22,47] javax.servlet.SingleThreadModel in javax.servlet has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[48,13] javax.servlet.SingleThreadModel in javax.servlet has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[232,17] log(java.lang.Exception,java.lang.String) in javax.servlet.ServletContext has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[222,32] getServletNames() in javax.servlet.ServletContext has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[217,33] getServlets() in javax.servlet.ServletContext has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[212,20] getServlet(java.lang.String) in javax.servlet.ServletContext has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[29,11] javax.servlet.http.HttpSessionContext in javax.servlet.http has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[154,17] removeValue(java.lang.String) in javax.servlet.http.HttpSession has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[138,17] putValue(java.lang.String,java.lang.Object) in javax.servlet.http.HttpSession has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[107,21] getValueNames() in javax.servlet.http.HttpSession has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[97,19] getValue(java.lang.String) in javax.servlet.http.HttpSession has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[87,31] getSessionContext() in javax.servlet.http.HttpSession has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[87,12] javax.servlet.http.HttpSessionContext in javax.servlet.http has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[66,21] executeHandler(io.undertow.server.HttpHandler,io.undertow.server.HttpServerExchange) in io.undertow.server.HttpHandlers has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[28,28] sun.reflect.ReflectionFactory is internal proprietary API and may be removed in a future release
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[227,17] setStatus(int,java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[111,19] encodeRedirectUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[106,19] encodeUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
[INFO] [WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[350,20] isRequestedSessionIdFromUrl() in javax.servlet.http.HttpServletRequest has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[786,19] getRealPath(java.lang.String) in javax.servlet.ServletRequest has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[116,21] executeHandler(io.undertow.server.HttpHandler,io.undertow.server.HttpServerExchange) in io.undertow.server.HttpHandlers has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[55,21] executeHandler(io.undertow.server.HttpHandler,io.undertow.server.HttpServerExchange) in io.undertow.server.HttpHandlers has been deprecated
[INFO] --- maven-checkstyle-plugin:2.10:checkstyle (check-style) @ undertow-servlet ---
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>: Some input files use unchecked or unsafe operations.
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>: Recompile with -Xlint:unchecked for details.
[INFO] Starting audit...
Audit done.
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] [INFO] Copying 1 resource
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ undertow-servlet ---
[INFO] Copying 5 resources
[INFO] [INFO] Changes detected - recompiling the module!
[INFO] Compiling 82 source files to <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>
[INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ undertow-servlet ---
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[63,125] encode(java.lang.String) in java.net.URLEncoder has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[63,172] encode(java.lang.String) in java.net.URLEncoder has been deprecated
[WARNING] <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>:[37,29] getRealPath(java.lang.String) in javax.servlet.ServletRequest has been deprecated
[INFO] Surefire report directory: <http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/Undertow/ws/servle...>
[INFO]
-------------------------------------------------------
T E S T S
-------------------------------------------------------
[INFO] --- maven-surefire-plugin:2.11:test (default-test) @ undertow-servlet ---
Running io.undertow.servlet.test.websocket.WebSocketServletTest
18:21:59,171 INFO (main) [org.xnio] <Xnio.java:73> XNIO Version 3.1.0.CR2
18:21:59,222 INFO (main) [org.xnio.nio] <NioXnio.java:51> XNIO NIO Implementation Version 3.1.0.CR2
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.724 sec
Running io.undertow.servlet.test.upgrade.SimpleUpgradeTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.256 sec
Running io.undertow.servlet.test.streams.ServletOutputStreamTestCase
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.164 sec
Running io.undertow.servlet.test.streams.ServletInputStreamTestCase
18:22:10,319 ERROR (XNIO-1 task-20) [io.undertow.request] <ServletInitialHandler.java:149> Servlet request failed io.undertow.server.HttpServerExchange@16062b: java.lang.IllegalStateException
at org.xnio.ByteBufferSlicePool$PooledByteBuffer.getResource(ByteBufferSlicePool.java:196)
at org.xnio.ByteBufferSlicePool$PooledByteBuffer.getResource(ByteBufferSlicePool.java:169)
at io.undertow.servlet.spec.ServletInputStreamImpl.available(ServletInputStreamImpl.java:203)
at io.undertow.servlet.test.streams.BlockingInputStreamServlet.doPost(BlockingInputStreamServlet.java:40)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:88)
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:57)
at io.undertow.server.HttpHandlers.executeHandler(HttpHandlers.java:46)
at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:116)
at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
at io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:52)
at io.undertow.server.HttpHandlers.executeHandler(HttpHandlers.java:46)
at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
at io.undertow.server.HttpHandlers.executeHandler(HttpHandlers.java:46)
at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:66)
at io.undertow.server.HttpHandlers.executeHandler(HttpHandlers.java:46)
at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:71)
at io.undertow.server.HttpHandlers.executeHandler(HttpHandlers.java:46)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:26)
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:119)
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:107)
at io.undertow.servlet.handlers.ServletInitialHandler.handleRequest(ServletInitialHandler.java:82)
at io.undertow.server.HttpHandlers.executeRootHandler(HttpHandlers.java:53)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:496)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
18:22:10,417 ERROR (XNIO-1 task-20) [io.undertow.request] <ServletInitialHandler.java:84> Internal error handling servlet request /servletContext/blockingInput: java.lang.NullPointerException
at org.xnio.channels.Channels.readBlocking(Channels.java:294)
at io.undertow.servlet.spec.ServletInputStreamImpl.readIntoBuffer(ServletInputStreamImpl.java:133)
at io.undertow.servlet.spec.ServletInputStreamImpl.close(ServletInputStreamImpl.java:212)
at io.undertow.server.HttpServerExchange.endExchange(HttpServerExchange.java:1009)
at io.undertow.servlet.spec.HttpServletResponseImpl.responseDone(HttpServletResponseImpl.java:509)
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:159)
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:107)
at io.undertow.servlet.handlers.ServletInitialHandler.handleRequest(ServletInitialHandler.java:82)
at io.undertow.server.HttpHandlers.executeRootHandler(HttpHandlers.java:53)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:496)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
18:22:10,441 ERROR (XNIO-1 task-20) [io.undertow.request] <HttpHandlers.java:71> Blocking request failed io.undertow.server.HttpServerExchange@16062b: java.lang.NullPointerException
at org.xnio.channels.Channels.readBlocking(Channels.java:294)
at io.undertow.servlet.spec.ServletInputStreamImpl.readIntoBuffer(ServletInputStreamImpl.java:133)
at io.undertow.servlet.spec.ServletInputStreamImpl.close(ServletInputStreamImpl.java:212)
at io.undertow.server.HttpServerExchange.endExchange(HttpServerExchange.java:1009)
at io.undertow.servlet.handlers.ServletInitialHandler.handleRequest(ServletInitialHandler.java:85)
at io.undertow.server.HttpHandlers.executeRootHandler(HttpHandlers.java:53)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:496)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
Exception in thread "XNIO-1 task-20" java.lang.NullPointerException
at org.xnio.channels.Channels.readBlocking(Channels.java:294)
at io.undertow.servlet.spec.ServletInputStreamImpl.readIntoBuffer(ServletInputStreamImpl.java:133)
at io.undertow.servlet.spec.ServletInputStreamImpl.close(ServletInputStreamImpl.java:212)
at io.undertow.server.HttpServerExchange.endExchange(HttpServerExchange.java:1009)
at io.undertow.server.HttpHandlers.executeRootHandler(HttpHandlers.java:72)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:496)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
Build timed out (after 20 minutes). Marking the build as failed.
Results :
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Undertow Build Configuration ...................... SUCCESS [22.205s]
[INFO] Undertow .......................................... SUCCESS [3.926s]
[INFO] Undertow Parser Generator ......................... SUCCESS [7.388s]
[INFO] Undertow Core ..................................... SUCCESS [48.138s]
[INFO] channel stopped
Undertow Servlet .................................. FAILURE [18:17.273s]
[INFO] Undertow JSP ...................................... SKIPPED
[INFO] Undertow Examples ................................. SKIPPED
[INFO] Undertow WebSockets JSR356 implementations ........ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19:41.291s
[INFO] Finished at: Mon Apr 22 18:40:11 EDT 2013
[INFO] Final Memory: 24M/296M
[INFO] ------------------------------------------------------------------------
11 years, 7 months