[wildfly-dev] ts.secman: failure since today
Brian Stansberry
brian.stansberry at redhat.com
Thu Aug 28 08:29:37 EDT 2014
Thanks for the hint re: RedundantThrowsCheck. That led me to this bit of
info; basically they want to get rid of this feature and others like it
that depend on classpath as they are broken.[1]
I don't think we should add dependencies just to satisfy this plugin.
But the check supports configurations[2] that will let us either
completely suppress this problems or just turn them into logged issues
and not failures. I'll send a PR for our checkstyle config to do that.
[1] https://github.com/checkstyle/checkstyle/pull/177#issuecomment-48192498
[2] http://checkstyle.sourceforge.net/config_coding.html#RedundantThrows
On 8/27/14, 10:06 PM, Eduardo Sant´Ana da Silva wrote:
> Seems that the RedundantThrowsCheck style feature is causing this, since
> it is not able to resolve the ServletException class.
>
> I don't know if this have another implications but adding the servlet
> dependency solve the problem and the tests ends fine.
>
> <dependencies>
> <dependency>
> <groupId>org.jboss.spec.javax.servlet</groupId>
> <artifactId>jboss-servlet-api_3.1_spec</artifactId>
>
> <version>${version.org.jboss.spec.javax.servlet.jboss-servlet-api_3.1_spec}</version>
> <scope>compile</scope>
> </dependency>
>
> </dependencies>
>
>
>
> 2014-08-27 17:24 GMT-03:00 Brian Stansberry <brian.stansberry at redhat.com
> <mailto:brian.stansberry at redhat.com>>:
>
> I disabled the checkstyle plugin in that module. It's one of only two
> testsuite modules that have checkstyle enabled, so no great loss.
>
> Googling that failure indicates some sort of classpath problem for the
> plugin, so if someone can figure out the issue we can re-enable.
>
> On 8/27/14, 2:01 PM, Frank Langelage wrote:
> > Could someone please have a look at this problem, caused by commit
> >
> https://github.com/wildfly/wildfly/commit/31220c8aa3a3264651fda0305f95a1512e6da838
> > today (PR https://github.com/wildfly/wildfly/pull/6538).
> > stuartwdouglas?
> > kwart?
> >
> > [INFO] --- maven-compiler-plugin:3.1:testCompile
> (default-testCompile) @
> > wildfly-ts-integ-secman ---
> > [INFO] Changes detected - recompiling the module!
> > [INFO] Compiling 26 source files to
> >
> /home/jboss/WildFly-9.0/wildfly/testsuite/integration/secman/target/test-classes
> > [WARNING] CAL10NAnnotationProcessor 0.8.1 initialized
> > [WARNING] Supported source version 'RELEASE_5' from annotation
> processor
> > 'ch.qos.cal10n.verifier.processor.CAL10NAnnotationProcessor' less
> than
> > -source '1.7'
> > [INFO]
> > [INFO] --- maven-checkstyle-plugin:2.12.1:checkstyle (check-style) @
> > wildfly-ts-integ-secman ---
> > [INFO] Starting audit...
> >
> /home/jboss/WildFly-9.0/wildfly/testsuite/integration/secman/src/test/java/org/jboss/as/testsuite/integration/secman/servlets/CallPermissionUtilServlet.java:51:83:
> > Unable to get class information for ServletException.
> >
> /home/jboss/WildFly-9.0/wildfly/testsuite/integration/secman/src/test/java/org/jboss/as/testsuite/integration/secman/servlets/JSMCheckServlet.java:55:83:
> > Unable to get class information for ServletException.
> >
> /home/jboss/WildFly-9.0/wildfly/testsuite/integration/secman/src/test/java/org/jboss/as/testsuite/integration/secman/servlets/PrintSystemPropertyServlet.java:50:83:
> > Unable to get class information for ServletException.
> > Audit done.
> >
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] Reactor Summary:
> > [INFO]
> > [INFO] WildFly Test Suite: Aggregator ..................... SUCCESS
> > [03:11 min]
> > [INFO] WildFly Test Suite: Integration .................... SUCCESS [
> > 9.882 s]
> > [INFO] WildFly Test Suite: Integration - Web .............. SUCCESS
> > [01:50 min]
> > [INFO] WildFly Test Suite: Integration - Smoke ............ SUCCESS
> > [03:54 min]
> > [INFO] WildFly Test Suite: Integration - Security Manager . FAILURE [
> > 12.331 s]
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] Total time: 09:25 min
> > [INFO] Finished at: 2014-08-27T20:24:31+02:00
> > [INFO] Final Memory: 100M/302M
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-checkstyle-plugin:2.12.1:checkstyle
> > (check-style) on project wildfly-ts-integ-secman: An error has
> occurred
> > in Checkstyle report generation. Failed during checkstyle execution:
> > There are 3 checkstyle errors. -> [Help 1]
> > [ERROR]
> > [ERROR] To see the full stack trace of the errors, re-run Maven
> with the
> > -e switch.
> > [ERROR] Re-run Maven using the -X switch to enable full debug
> logging.
> > [ERROR]
> > [ERROR] For more information about the errors and possible solutions,
> > please read the following articles:
> > [ERROR] [Help 1]
> >
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> > [ERROR]
> > [ERROR] After correcting the problems, you can resume the build
> with the
> > command
> > [ERROR] mvn <goals> -rf :wildfly-ts-integ-secman
> >
> > _______________________________________________
> > wildfly-dev mailing list
> > wildfly-dev at lists.jboss.org <mailto:wildfly-dev at lists.jboss.org>
> > https://lists.jboss.org/mailman/listinfo/wildfly-dev
> >
>
>
> --
> Brian Stansberry
> Senior Principal Software Engineer
> JBoss by Red Hat
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev at lists.jboss.org <mailto:wildfly-dev at lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/wildfly-dev
>
>
>
>
> --
> __________________________
> Eduardo Sant'Ana da Silva - Dr.
> Pesquisador / Consultor de TI
>
--
Brian Stansberry
Senior Principal Software Engineer
JBoss by Red Hat
More information about the wildfly-dev
mailing list